SendMailJobSenderEmail Property |
Gets the actual sender e-mail address string (or its pattern for mail merge jobs).
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public string SenderEmail { get; }
Public ReadOnly Property SenderEmail As String
Get
Property Value
Type:
StringThe 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.
Remarks 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