Steps to check SMTP Logs in IIS server


Staff member
If you are not able to send mail through PHP or ASP.NET script then you can try to resolve the issue by checking the SMTP logs in IIS. You can check below steps to check logs.

How to enable SMTP Logs?
  • Login to your Windows VPS server.
  • Navigate to Start >> Administrative tools.
  • Now you have to click on “Internet Information Service (IIS) 6.0 Manager”.
  • Click on your hostname on left side of screen to expand it.
  • Right click on “SMTP Virtual Server” and choose “Properties” button.
  • A new windows will open where you have to click on “Enable logging” and then click on “Properties”.
  • After clicking on “Properties”, click on “Advanced” tab and check that all the boxes are checked or not.
  • Click on “OK” button.
Steps to Check SMTP Logs:

After enabling SMTP logs you can check your files at below location: