'Declaration
Public Shared Sub SendMessage( _ ByVal message As MailMessage _ )
public static void SendMessage( MailMessage message )
Parameters
- message
- The mail message to send.
'Declaration
Public Shared Sub SendMessage( _ ByVal message As MailMessage _ )
public static void SendMessage( MailMessage message )
The From and To address will be automatically populated from the configuration if not specified in the provided message.
If the message can't be sent exceptions will be thrown. See StmpClient.Send for exception information.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2