Troubleshoot Sending Email via SMTP

Problem

You are unable to send email via SMTP, but no specific error is thrown.

Solution

Use this command line to create a log file to troubleshoot why SMTP is not working.



Open the command prompt and navigate to the fleet folder.  Execute the following command, replacing the red values with the actual values.

 

SwithMail.exe /s /from "email@domain.com" /name "email@domain.com" /pass "PASSWORD" /server "SMTPSERVERNAME" /p "PORT" /SSL /to "email@domain.com" /sub "TEST" /b "THIS IS A TEST" /l "C:\temp\SwithMailLog.log"