In JIRA Administration I set up my SMTP server and when I click the Test Connection button I get back that "The connection was successful." But when I am trying to add users to JIRA and email them thier password they don't get any email.
When I try to Send a Test Email from the Administration / Mail Servers/ SMTP Mail Server I get this in my Mail log.
An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.MessagingException: [EOF]
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:169)
at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:93)
Usually the error is related to Mail Exchange (server) configuration. It is due to Mail Server not being updated to allow relay from this server. But when adding JIRA server's IP to the range of allowed relay hosts, it works fine. Try to add JIRA server's IP to the range of allowed relay hosts and see how it goes.
As Hanis says, validate your smtp server, its probably not working, though that error is not one I've seen before.
JIRA aside, you can use telnet to validate your smtp server works...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does your SMTP server you ssl? If so set up a JDNI in your conf/server.xml file like so:
http://confluence.atlassian.com/display/JIRA/Using+Gmail+as+a+JIRA+Mail+Server
I doubt its the case because your connection test succedded but still good to know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Set -Dmail.debug=true and restart JIRA. This will log the exchange with the mail server and should thus display the error.
(see http://confluence.atlassian.com/display/JIRA/Logging+email+protocol+details)
A likely cause is that the mail server prohibits relays. You might have to whitelist your Jira server for relay at the mailserver. Test connection will only check for a normal response from the mail server. Sending a mail will actually test the ability to onsend mail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.