SmtpRelayFromEmlFileAsync Method (String, String, EmailAddressCollection)

Namespace: MailBee.SmtpMail
Assembly: 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
)

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: TaskBoolean
A task that represents the asynchronous operation. The value of TResult parameter is trueif the relay operation succeeded; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also