Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / Log Class / SendMessage Method
The mail message to send.

In This Topic
    SendMessage Method (Log)
    In This Topic
    Send an email message using the agent's email configuration
    Syntax
    'Declaration
     
    
    Public Shared Sub SendMessage( _
       ByVal message As MailMessage _
    ) 
    public static void SendMessage( 
       MailMessage message
    )

    Parameters

    message
    The mail message to send.
    Remarks

    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.

    Requirements

    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

    See Also