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.
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.
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.
Categories: Errors, PaperCut NG and PaperCut ChargeBack 7+
keywords: email, connection, socket, smtp