SendMailJobSenderEmail Property
Gets the actual sender e-mail address string (or its pattern for mail merge jobs).

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
public string SenderEmail { get; }

Property Value

Type: String
The string containing the e-mail address of the actual sender of the mail message, or an actual sender e-mail address template for mail merge jobs.
This address is usually the same as "From:" address of the mail message (or mail merge template). However, it can be different if the e-mail or mail merge needs to be sent from fake address (when "From:" address is different from SMTP "MAIL FROM:" address). To achieve this, call AddJob(String, String, EmailAddressCollection) method with non-null value of senderEmail parameter (or senderEmailPattern for mail merge overloads of this method).
See Also