SmtpRelayFromEmlFileAsync Method (String, String, EmailAddressCollection)

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 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