This page describes how to use Gmail for both SMTP and POP3 mail.
Configuring GMail for Outgoing Mail (SMTP)
Follow the instructions from Configuring JIRA to Send SMTP Mail:
- Import the SSL certificate from Gmail.
- Move the activation and mail jar files from the /WEB-INF/lib folder to the /common/lib (Tomcat 5.5) or /lib (Tomcat 6) folder.
- Add Gmail as a JNDI Resource in /conf/server.xml. Change your username and password.
- When configuring the SMTP server in JIRA's interface, use the JNDI setting. The proper value (if using the default example), is java:comp/env/mail/GmailSmtpServer.
Configuring GMail for Incoming Mail (POP)
To use Gmail, for example, as a create and comment mail handler:
- If you did not import the SSL certificate from Gmail for the SMTP server, refer to the SSL section in Configuring JIRA to Send SMTP Mail.
- Enable POP access in GMail's settings
- Add a POP3 mail account