Design Pattern Framework 3.5
ObserverLogToEmail Constructor (from, to, subject, body, smtpClient)
Patterns-In-Action! Application ► Log ► ObserverLogToEmail ► ObserverLogToEmail(String, String, String, String, SmtpClient)
Constructor for the ObserverlogToEmail class
Declaration Syntax
C# | Visual Basic |
public ObserverLogToEmail( string from, string to, string subject, string body, SmtpClient smtpClient )
Public Sub New ( _ from As String, _ to As String, _ subject As String, _ body As String, _ smtpClient As SmtpClient _ )
Parameters
- from (String)
- From email address.
- to (String)
- To email address.
- subject (String)
- Email subject.
- body (String)
- smtpClient (SmtpClient)
- Smtp email client.