SmtpRelayFromEmlFileAsync Method (String, String, EmailAddressCollection) |
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> RelayFromEmlFileAsync(
string filename,
string senderEmail,
EmailAddressCollection recipients
)
Public Function RelayFromEmlFileAsync (
filename As String,
senderEmail As String,
recipients As EmailAddressCollection
) As Task(Of Boolean)
Parameters
- filename
- Type: SystemString
The path to the file containing the message source in .EML (RFC2822) format. - senderEmail
- Type: SystemString
The e-mail address of the sender. - recipients
- Type: MailBee.MimeEmailAddressCollection
The list of the message recipients.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation.
The value of
TResult parameter is
trueif the relay operation succeeded; otherwise,
false.
Exceptions See Also