SmtpClient.LogFileName Property


Gets or sets the log file name for smtp transaction.

[Visual Basic]
Public Property LogFileName As String
[C#]
public string LogFileName {get; set;}
[C++]
public: __property String^ get_LogFileName();
public: __property void set_LogFileName(String^);
[JScript]
public function get LogFileName() : String;
public function set LogFileName(String);

Property Value

A valid file name with full path that logs the SMTP transation.

Remarks

Log file will be created if it does not exist; otherwise new content will be appended at the end of the file.

See Also

SmtpClient.SMTPConversation Property