Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / Packager Class / SendEmailAsync Method / SendEmailAsync(SessionCriteria,Boolean,String) Method
The set of match rules to apply to sessions to determine what to send.
True to have every included session marked as read upon successful completion.
Optional. A subject line for the email. If left empty a subject line will be generated.

In This Topic
    SendEmailAsync(SessionCriteria,Boolean,String) Method
    In This Topic
    Asynchronously send the completed package via email using the packaging configuration in the app.config file.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SendEmailAsync( _
       ByVal sessions As SessionCriteria, _
       ByVal markAsRead As Boolean, _
       ByVal emailSubject As String _
    ) 
    public void SendEmailAsync( 
       SessionCriteria sessions,
       bool markAsRead,
       string emailSubject
    )

    Parameters

    sessions
    The set of match rules to apply to sessions to determine what to send.
    markAsRead
    True to have every included session marked as read upon successful completion.
    emailSubject
    Optional. A subject line for the email. If left empty a subject line will be generated.
    Remarks
    Asynchronously send session data to an email address.

    Multiple criteria can be specified and all matching sessions will be sent. Sessions that match more than one item will be sent only once. All criteria are considered inclusive, adding the sessions they match.

    The EndSend event will be raised when the send operation completes.

    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