ComponentSpace Trace Listeners Class Library Reference

SmtpTraceListener Constructor (String, String, String, String)

Initializes a new instance of the SmtpTraceListener using the supplied parameters.

[Visual Basic]
Overloads Public Sub New( _
   ByVal fromAddress As String, _
   ByVal toAddress As String, _
   ByVal subject As String, _
   ByVal mailServerName As String _
)
[C#]
public SmtpTraceListener(
   string fromAddress,
   string toAddress,
   string subject,
   string mailServerName
);

Parameters

fromAddress
The email from address.
toAddress
The email to address.
subject
The email subject line.
mailServerName
The name of the SMTP mail server.

See Also

SmtpTraceListener Class | ComponentSpace.TraceListeners Namespace | SmtpTraceListener Constructor Overload List