(Contents)(Previous)(Next)

NewMessage()

Description: Creates and returns a new mail message object.
Syntax: object.NewMessage
Parameters:
object Required, the Session object
Remarks: This function returns a new Message object to the caller. A subject, body and list of recipients may subsequently be specified and the message may then be sent.
Returns: Returns a Message object.
Example:
Dim session As Object

Set session = CreateObject("OfficeTalk.Session")

Set user = session.Logon(login name, password)

Set message = session.NewMessage


Next