MailSpool.Send Method
Namespace: Rebex.Mail
Assembly: Rebex.Mail.dll (version 7.0.9083)
Send(MailServerType, MimeMessage, String)
Sends the message by submitting it into the MS IIS SMTP service's pickup directory.
Declaration
public static void Send(MailServerType serverType, MimeMessage message, string pickupDirectory)
Parameters
Type | Name | Description |
---|---|---|
MailServerType | serverType | Server type. |
MimeMessage | message | Message to be sent. |
String | pickupDirectory | The pickup directory to submit the message to (or null to detect automatically on Windows platforms). |
Remarks
Microsoft SMTP service must be running at the computer where the code runs in order for this method to work.
Send(MailServerType, MimeMessage)
Sends the message by submitting it into the MS IIS SMTP service's pickup directory.
Declaration
public static void Send(MailServerType serverType, MimeMessage message)
Parameters
Type | Name | Description |
---|---|---|
MailServerType | serverType | Server type. |
MimeMessage | message | Message to be sent. |
Remarks
Microsoft SMTP service must be running at the computer where the code runs in order for this method to work.
Send(MailServerType, MailMessage, String)
Sends the message by submitting it into the MS IIS SMTP service's pickup directory.
Declaration
public static void Send(MailServerType serverType, MailMessage message, string pickupDirectory)
Parameters
Type | Name | Description |
---|---|---|
MailServerType | serverType | Server type. |
MailMessage | message | Message to be sent. |
String | pickupDirectory | The pickup directory to submit the message to, or null to detect automatically. |
Remarks
Microsoft SMTP service must be running at the computer where the code runs in order for this method to work.
Send(MailServerType, MailMessage)
Sends the message by submitting it into the MS IIS SMTP service's pickup directory.
Declaration
public static void Send(MailServerType serverType, MailMessage message)
Parameters
Type | Name | Description |
---|---|---|
MailServerType | serverType | Server type. |
MailMessage | message | Message to be sent. |
Remarks
Microsoft SMTP service must be running at the computer where the code runs in order for this method to work.