'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 _ )
public void SendEmail( Predicate<SessionSummary> sessionMatchPredicate, bool markAsRead, string emailSubject, string fromAddress, string destinationAddress, string emailServer )
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.