Sends the message by submitting it into the MS IIS SMTP service's pickup directory.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Shared Sub Send ( _
	serverType As MailServerType, _
	message As MimeMessage _
)
C#
public static void Send(
	MailServerType serverType,
	MimeMessage message
)

Parameters

serverType
Type: Rebex.Mail..::..MailServerType
Server type.
message
Type: Rebex.Mime..::..MimeMessage
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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also