Click or drag to resize

DefaultContextSendMail Method

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
public virtual void SendMail(
	string serverName,
	string sessionName,
	string subject,
	string text
)

Parameters

serverName
Type: SystemString
The name of the server sending the mail.
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.

Implements

IServerContextSendMail(String, String, String, String)
Exceptions
ExceptionCondition
ArgumentNullException An argument is null.
See Also