Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / PackagerDialog Class / SendEmail Method / SendEmail(String,String) Method

In This Topic
    SendEmail(String,String) Method
    In This Topic
    Start the package and send process but only allow sending to email
    Syntax
    'Declaration
     
    
    Public Overloads Function SendEmail( _
       ByVal destinationAddress As String, _
       ByVal fromAddress As String _
    ) As DialogResult

    Parameters

    destinationAddress
    fromAddress

    Return Value

    A dialog result indicating if the packager completed successfully, failed, or was canceled.
    Remarks

    The dialog result will be OK if the process completed successfully, Cancel if the user cancels the wizard before it attempts to send the package, and Abort if the package and send process encounters an error.

    The wizard will not prompt the user to select how to send the package and will ignore the application configuration restrictions on allowed transports. If a destination and/or source email address are specified they will override the application configuration.
    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