GetSender

Description

Gets the specified sender’s email address.

Applies to

MimeMessage object

Syntax

mimemessage.GetSender()

Argument

Description

mimemessage

A MimeMessage object identifying the email message in which you want to get the sender’s email address.


Return value

String.

Returns the sender’s email address if it succeeds.

Examples

The following example gets the specified sender’s email address.

String ls_sender

lnv_SmtpClient.Message.SetSender("tester001.appeon@gmail.com","Tester001")
ls_sender = lnv_SmtpClient.Message.GetSender()

See also

AddAttachment

AddBcc

AddCc

AddLinkedResource

AddRecipient

Reset

SetSender