How to send a Test Email in Jira

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

  1. Go to Administration > System > Mail and choose the Outgoing Mail tab in the left side of the page.
  2. Click the 'Send a Test Email' link in the Operations column.
  3. For debugging it might be helpful to check the 'SMTP Logging'.
  4. 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
    


    (info) 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


Last modified on Sep 6, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.