tag:help-archives.hannonhill.com,2010-02-09:/discussions/installation/1063-email-settings-configurationCascade CMS: Discussion 2018-10-18T20:36:44Ztag:help-archives.hannonhill.com,2010-02-09:Comment/242215442013-01-25T18:11:04Z2013-01-25T18:11:04ZEmail Settings Configuration<div><p>I receive the error, "Authentication failed when sending a test
email" when trying to send a test email.</p>
<p>SMTP Host: email-smtp.us-east-1.amazonaws.com<br>
SMTP Port: 25<br>
SMTP Username: ...<br>
SMTP Password: ...</p>
<p>I set logging to DEBUG, and there is no detail about the failed
authentication.</p>
<p>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.</p>
<p>Can anyone suggest another troubleshooting tactic?</p></div>Christag:help-archives.hannonhill.com,2010-02-09:Comment/242215442013-01-25T19:23:52Z2013-01-25T19:23:52ZEmail Settings Configuration<div><p>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 :<br></p>
<pre>
<code>> telnet email-smtp.us-east-1.amazonaws.com 25</code>
</pre>
Do you receive a response?
<p>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.</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/242215442013-01-25T19:26:29Z2013-01-25T19:26:29ZEmail Settings Configuration<div><p>Yes, I'm able to connect via telnet. I'm also able to connect
and <em>authenticate</em> using OpenSSL on the command line.</p></div>Christag:help-archives.hannonhill.com,2010-02-09:Comment/242215442013-01-25T19:33:38Z2013-01-25T19:34:07ZEmail Settings Configuration<div><p>I'm also able to send mail with a compiled Java program using
javax mail, running from Cascade's JRE.</p>
<p>Is there a Spring bean that I need to be updating?</p></div>Christag:help-archives.hannonhill.com,2010-02-09:Comment/242215442013-01-28T17:58:42Z2013-01-28T17:58:42ZEmail Settings Configuration<div><p>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.</p>
<p>I'll mark this as closed, but suggestions are still welcome!</p></div>Chris