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.
- Move activation-1.0.2.jar and mail-1.4.1.jar from /confluence/WEB-INF/lib to <tomcat-install>/common/lib (Tomcat 5.5) or <tomcat-install>/lib (Tomcat 6).
- Paste the following code in confluence.xml or server.xml (substitute username and password):
Tomcat 5.5 or Tomcat 6
- Add
java:comp/env/mail/Sessionto your JNDI mail configuration fromAdministration > Mail Servers.
Note: You may optionally add mail.debug=true into the <Resource> to see logs generated by JavaMail.
Labels






