'Declaration
Public Overloads Sub SendEmail( _ ByVal sessionMatchPredicate As Predicate(Of SessionSummary), _ ByVal markAsRead As Boolean, _ ByVal emailSubject As String, _ ByVal fromAddress As String, _ ByVal destinationAddress As String, _ ByVal emailServer As String, _ ByVal emailServerUser As String, _ ByVal emailServerPassword As String _ )
public void SendEmail( Predicate<SessionSummary> sessionMatchPredicate, bool markAsRead, string emailSubject, string fromAddress, string destinationAddress, string emailServer, string emailServerUser, string emailServerPassword )
Parameters
- sessionMatchPredicate
- A delegate to evaluate sessions and determine which ones 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.
- emailServerUser
- Optional. A user name to use instead of the current windows user credentials to communicate with the email server.
- emailServerPassword
- Optional. A password to use for the user name for credentials to communicate with the email server.