How to send a Test Email in Jira Data Center
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Environment
Jira Server / Data Center 7.0.0 and any higher version
Sending a Test Email from Jira
- Go to
Administration > System > Mail
and choose theOutgoing Mail
tab in the left side of the page. - Click the 'Send a Test Email' link in the
Operations
column. - For debugging it might be helpful to check the 'SMTP Logging'.
- Hit Send button.
- The e-mail protocol details can be found in the Mail log section at the bottom of page.
The test e-mail will not use the JIRA notification e-mail templates, and hence, the e-mail format will be different (e.g. the sender name will not be displayed).
Your test message has been sent successfully to dummy@gmail.com. DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] DEBUG SMTP: useEhlo true, useAuth true DEBUG SMTP: useEhlo true, useAuth true DEBUG SMTP: trying to connect to host "smtpcorp.com", port 2525, isSSL false 220 smtpcorp.com ESMTP Exim 4.72 Tue, 08 Jan 2013 22:52:02 +0000 DEBUG SMTP: connected to host "smtpcorp.com", port: 2525 EHLO cptkirk.staff.sf.atlassian.com 250-smtpcorp.com Hello dummy.staff.sf.atlassian.com [12.250.157.102] 250-SIZE 52428800 250-PIPELINING 250-AUTH CRAM-MD5 PLAIN LOGIN 250-STARTTLS 250 HELP DEBUG SMTP: Found extension "SIZE", arg "52428800" DEBUG SMTP: Found extension "PIPELINING", arg "" DEBUG SMTP: Found extension "AUTH", arg "CRAM-MD5 PLAIN LOGIN" DEBUG SMTP: Found extension "STARTTLS", arg "" DEBUG SMTP: Found extension "HELP", arg "" DEBUG SMTP: Attempt to authenticate DEBUG SMTP: check mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM DEBUG SMTP: AUTH LOGIN command trace suppressed DEBUG SMTP: AUTH LOGIN succeeded DEBUG SMTP: use8bit false MAIL FROM:<pkirkeby@atlassian.com> 250 OK RCPT TO:<dummy@gmail.com> 250 Accepted <dummy@gmail.com> DEBUG SMTP: Verified Addresses DEBUG SMTP: dummy@gmail.com DATA 354 Enter message, ending with "." on a line by itself Date: Tue, 8 Jan 2013 14:52:02 -0800 (PST) From: dummy@atlassian.com To: dummy@gmail.com Message-ID: <770853660.0.1357685523851.JavaMail.pkirkeby@cptkirk.staff.sf.atlassian.com> Subject: [JIRA] Test Message From JIRA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk Auto-Submitted: auto-generated X-JIRA-FingerPrint: d3e4b43258f9137d7e88df0cbc184ad1 This is a test message from JIRA. Server: SMTP2GO SMTP Port: 2525 Description: From: dummy@atlassian.com Host User Name: dummy.smtp . 250 OK id=1Tsi1b-0007RI-QH QUIT 221 smtpcorp.com closing connection
To send a test email from Jira, you have to setup outgoing mail server in Jira as per this page: Configuring JIRA's SMTP Mail Server