Description: | Sends the mail message in the form of a notification. |
Syntax: | object.SendAsNotification |
Parameters: | |
object | Required, the Message object |
Remarks: | In order to send a notification, create a message and set its properties in the normal way, but instead of calling Send to send the message call this method. |
Returns: | Returns True if the notification was successfully sent. |
Example: |
Set session = CreateObject("OfficeTalk.Session")
Set user = session.Logon(login name, password)
Set message = session.NewMessage
message.AddABRecipients
message.Subject = "A Test notification"
message.SetBody "This is the message that will appear in the notification"
message.SendAsNotification