Hi!
We're trying to setup Confluence (5.2) to use Gmail as our default mail server (SMTP). We actually followed these instructions
The fact is that we didn't move any file (the mail-1.4.5.jar is inside the Confluence WEB-INF/lib directory), and we believe that the configuration file we modified is ok.
When we try to test our Mail configuration inside Confluence we are receiving this error: ERR_CONTENT_DECODING_FAILED ((http://ourserver/admin/mail/dosendtestemail.action) and nothing is written in the logfiles.
Take a look at our "server.xml":
<Engine name="Standalone" defaultHost="localhost" debug="0">
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false">
<Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
<!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluenc
e/WEB-INF/classes/log4j.properties -->
<Manager pathname="" />
<Resource name="mail/Session"
auth="Container"
type="javax.mail.Session"
mail.smtp.host="smtp.gmail.com"
mail.smtp.port="465"
mail.smtp.auth="true"
mail.smtp.user="our_account@googleAppsDomain.com"
password="ourPassword"
mail.smtp.starttls.enable="true"
mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"/>
</Context>
</Host>
</Engine>
By the way, if we change the JNDI location inside Confluence or in the "server.xml" Confluence reply that can't find it, so seems it's well defined.
So, what can we do? We don't know what's going on.
Cheers,