SMTP Connection Problems when delivering Email Notifications

When PaperCut NG tries to deliver email notifications and/or reports, the following error can occur when there are problems connecting to the SMTP server. Note: The use of “smtp.server.name” in this article is a placeholder. Please use your SMTP server address when testing. Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.server.name, port: 25; nested exception is: java.net.SocketException: Software caused connection abort: connect. or Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.server.name, port: 25; nested exception is: java.net.SocketException: Connection refused: connect. When you receive this error, first check that

No SMTP server defined

When setting up PaperCut’s Email Notifications customers may experience an issue when using some types of Antivirus/Malware software that intercepts SMTP connections. Error sending email: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 550 No SMTP server defined. Use real server address instead of 127.0.0.1 in your account. The above error message indicates that the Java backend of PaperCut is refusing to use 127.0.0.1 as a SMTP server. This has previously been caused by the Antivirus software intercepting the SMTP connection and redirecting it locally rather than to the customers specified SMTP server. Also see: SMTP Troubleshooting