Author |
|
kara Newbie
Joined: 12 December 2008 Location: United States
Online Status: Offline Posts: 1
|
Posted: 12 December 2008 at 6:14pm | IP Logged
|
|
|
Please Boss i will be happy if you can help me with SMTP loging i need help, this is my e-mail marco_alamaru@yahoo.com
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 15 December 2008 at 1:26am | IP Logged
|
|
|
You should use the following code to enable SMTP logging, for C# and Visual Basic respectively:
Code:
Smtp mailer = new Smtp();
mailer.Log.Enabled = true;
mailer.Log.Filename = @"C:\log.txt"; |
|
|
Code:
Dim mailer = New Smtp
mailer.Log.Enabled = True
mailer.Log.Filename = "C:\log.txt" |
|
|
Please refer to this documentation page for details.
System account your application is running under should have write permission to the specified location.
Regards,
Igor
|
Back to Top |
|
|