Dashboard > Confluence User Guides and Documents > ... > Confluence Developer FAQ > How do I configure Confluence to use GMail as the mail server
How do I configure Confluence to use GMail as the mail server Log In   View a printable version of the current page.

Added by dchui, last edited by dchui on Apr 19, 2007
Labels: 

To configure Confluence to use Gmail to send emails, you will need to create a JNDI mail session and then have Confluence use it as per this document.

Please see Setup a mail session in standalone version for some guidelines.

Tomcat 5.5
<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="nobody@gmail.com"
    password="foobar"
    mail.smtp.starttls.enable="true"
    mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
  />

Note: You may optionally add mail.debug=true into the <Resource> to see logs generated by JavaMail.

DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.1 Build:#916 Nov 09, 2007) - Bug/feature request - Contact Administrators