Click or drag to resize

IMailServicesSendMail Method (String, String, String)

Sends a mail message using the specified SMTP mail session.

Namespace:  OBCOM.NetSwitchLib.Servers
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
void SendMail(
	string sessionName,
	string subject,
	string text
)

Parameters

sessionName
Type: SystemString
The name of the mail session.
subject
Type: SystemString
The subject of the mail message.
text
Type: SystemString
The text of the mail message.
Exceptions
ExceptionCondition
ArgumentNullException An argument is null.
See Also