SmtpAddAttachmentAsync Method |
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> AddAttachmentAsync(
string filename
)
Public Function AddAttachmentAsync (
filename As String
) As Task(Of Boolean)
Parameters
- filename
- Type: SystemString
The full path and filename of the file to be attached.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation.
The value of
TResult parameter is
true if the method succeeds; otherwise,
false.
Exceptions See Also