Email Settings Configuration

Chris's Avatar


25 Jan, 2013 06:11 PM

I receive the error, "Authentication failed when sending a test email" when trying to send a test email.

SMTP Host:
SMTP Port: 25
SMTP Username: ...
SMTP Password: ...

I set logging to DEBUG, and there is no detail about the failed authentication.

I'm able to authenticate from the same server using OpenSSL with the same credentials, so this would seem to rule out the possibility of invalid credentials or a network firewall.

Can anyone suggest another troubleshooting tactic?

  1. Support Staff 1 Posted by Tim on 25 Jan, 2013 07:23 PM

    Tim's Avatar

    It sounds like you've double-checked the obvious which would be the hostname, username, and password (based on this particular error message), so at this point I might recommend simply checking to see if you can reach that server over port 25. Try doing this from the command line on the machine that :

    > telnet 25
    Do you receive a response?

    I realize this isn't testing authentication, but I want to make sure that the error message being displayed isn't misleading for whatever is going on in the background.

  2. 2 Posted by Chris on 25 Jan, 2013 07:26 PM

    Chris's Avatar

    Yes, I'm able to connect via telnet. I'm also able to connect and authenticate using OpenSSL on the command line.

  3. 3 Posted by Chris on 25 Jan, 2013 07:33 PM

    Chris's Avatar

    I'm also able to send mail with a compiled Java program using javax mail, running from Cascade's JRE.

    Is there a Spring bean that I need to be updating?

  4. 4 Posted by Chris on 28 Jan, 2013 05:58 PM

    Chris's Avatar

    I was able to successfully configure email on another instance of Cascade. So, I'm guessing that the culprit is a JRE setting or keystore or something of the like.

    I'll mark this as closed, but suggestions are still welcome!

  5. Chris closed this discussion on 28 Jan, 2013 05:58 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac