SmtpClient.LogFileName Property

Gets or sets the log file name for smtp transaction.

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

Property Value

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


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