'Declaration
Public Overloads Sub SendEmailAsync( _ ByVal sessions As SessionCriteria, _ ByVal markAsRead As Boolean, _ ByVal emailSubject As String, _ ByVal fromAddress As String, _ ByVal destinationAddress As String, _ ByVal emailServer As String _ )
public void SendEmailAsync( SessionCriteria sessions, bool markAsRead, string emailSubject, string fromAddress, string destinationAddress, string emailServer )
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.
- fromAddress
- Optional. The email address the package will appear to come from. If empty the destination address will be used.
- destinationAddress
- Optional. The email address to send the package to. If empty the application configuration value will be used.
- emailServer
- The full DNS name of the SMTP server to use to relay the mail message.