(Contents)(Previous)(Next)

SenderAddress()

Description: Returns a string which represents the sender of the message.
Syntax: object.SenderAddress
Parameters:
object Required, the Message object
Remarks: This method returns a string which represents the sender of this message. If the message has not yet been sent then an empty string is returned. This method is intended to be called on messages that you have received.
Returns: Returns the name of the sender of this message.
Example:
Dim session As Object

Set session = CreateObject("OfficeTalk.Session")

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

Set message = user.InBox.GetReceivedMessages.GetFirst

sSender = message.SenderAddress


Next