SMTP Connection Problems when delivering Email Notifications
Last modified on 14 August 2020 08:46 PM
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.
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 the SMTP server is set correctly. If this is OK, then the most common causes of this error are:
One way to do a quick test to see if you can connect to the SMTP server from the PaperCut machine is to try the following from a command prompt:
telnet smtp.server.name 25
If the screen goes black, then the connection has been established successfully. And this should mean that PaperCut will also be able to connect.