 | 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)
Syntaxpublic virtual void SendMail(
string serverName,
string sessionName,
string subject,
string text
)
Public Overridable Sub SendMail (
serverName As String,
sessionName As String,
subject As String,
text As String
)
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
See Also