MailBee.NET Objects 4.0

SmtpMessageNotSentEventArgs.ActualSenderEmail Property

Gets the e-mail address of the sender of the mail message.

public string ActualSenderEmail {get;}

Property Value

The pure e-mail address (user@domain.com, i.e. without display name or remarks) which was submitted to the SMTP server as the address of the message sender.

Remarks

Since Send method can be used to send messages from an e-mail address different from the address specified by From property, the developer can use ActualSenderEmail property to obtain the actual address the message was sent from.

See Also

SmtpMessageNotSentEventArgs Class | MailBee.SmtpMail Namespace