|
From: Noah S. (JIRA) <ji...@hy...> - 2007-03-22 22:31:38
|
"Connection refused" email error does not get displayed
-------------------------------------------------------
Key: HHQ-762
URL: http://jira.hyperic.com/browse/HHQ-762
Project: Hyperic HQ
Type: Developer
Versions: 3.0.2
Environment: Server: 3.0.2 .org build 328
Reporter: Noah Salzman
Assigned to: Charles Lee
Fix For: 3.1.0
If there is a problem with your SMTP server we do not display the "connection refused" error in the server.log, instead all you get is "Error sending email".
It would help users troubleshoot their SMTP config if we actually bubbled up the "connection refused" error.
This is what we show now:
2007-03-22 15:23:05,853 ERROR [org.hyperic.hq.bizapp.server.action.email.EmailFilter] Error sending email: [HQ] !! - Test Alert
Thsi is what we show if you crank up the log level in log4j:
2007-03-22 15:24:05,911 DEBUG [org.hyperic.hq.bizapp.server.action.email.EmailFilter] Messaging Error sending email
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.ConnectException: Connection refused
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
<snip>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.hyperic.com/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|