/ Forums / Advansys Formativ / Creating Solutions with Formativ / Personalized Subject / Reply To: Personalized Subject
March 2, 2005 at 3:27 pm
#7142
The Mail property PersonalSubject is only available using the GroupWise Object API, which unfortunately does not provide a means to access a message during the Send event.
You might wish to consider the following approach.
- Before sending, a user manually marks a message as requiring a personal subject. For example, the user could enter the special text “[[PS]]” in the message subject.
- Create an applet which executes on the event On Message Arrival (for the GroupWise Application, not Mail, etc), and
- Uses GroupWise.Account.MailBox.FindMessages() to filter for a message which is unread; whose message type is, for example, Mail; box type is incoming and subject contains “[[P]]”, and
- Sets the personal subject using the syntax oMsg.PersonalSubject = “My Personal Subject”, and
- Sets oMsg.Read = false, because accessing/changing the message can implicitly set Read = true (which will confuse the user).
I hope this helps you.
Advansys Support