SmtpSubmitJobsToPickupFolderAsync Method |
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> SubmitJobsToPickupFolderAsync(
string pickupFolderName,
bool doubleFirstDotAtLine
)
Public Function SubmitJobsToPickupFolderAsync (
pickupFolderName As String,
doubleFirstDotAtLine As Boolean
) As Task(Of Boolean)
Parameters
- pickupFolderName
- Type: SystemString
The full physical path to MailBee.NET Queue or IIS SMTP pickup folder (such as "C:\Inetpub\mailroot\Pickup"). - doubleFirstDotAtLine
- 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).
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation.
The value of
TResult parameter is
true, if the entire queue of pending jobs has been processed and saved;
false, if the operation was stopped due to an error.
Exceptions See Also