SetSender
Sets the sending email address.
Syntax
bool SetSender (StrParam)
Parameters
The sender’s email address.Returns
False if the mail object cannot be initialized. Otherwise, False.Invalid email addresses may not be reported until SendEMail is called.
Level
All levels.Details
Sets the email address of the sender for the current email. When using the CDOSYS object, use this action. When using the Outlook object, the current email account is used as the sender.- Example:
SetRecipients("lisa@adomain.com") SetSender("paul@adomain.com")