|SmtpSubmitToPickupFolderAsync Method (String, Boolean)|
MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public Task<string> SubmitToPickupFolderAsync(
Public Function SubmitToPickupFolderAsync (
pickupFolderName As String,
doubleFirstDotAtLine As Boolean
) As Task(Of String)
- Type: SystemString
The full physical path to MailBee.NET Queue or IIS SMTP pickup folder (such as "C:\Inetpub\mailroot\Pickup").
- Type: SystemBoolean
You must set it to true when submitting to IIS SMTP pickup folder and to false when using MailBee.NET Queue.
SMTP protocol requires the client to double the dot character (make ".." from ".") when it appears at the beginning of a line. However, unlike MailBee.NET Queue,
IIS SMTP service is not capable of performing this conversion, and doubleFirstDotAtLine parameter workarounds this (when true, MailBee itself will double dots when required).
A task that represents the asynchronous operation.
On success, the value of TResult
parameter is the filename (without folder path) of the file saved in the pickup folder; otherwise, a null reference
in Visual Basic).
Exceptions See Also