How to check mails sending from jenkins server

To check the emails sent from a Jenkins server, you can follow these steps:

Method 1: Check the Jenkins console output

  1. Log in to your Jenkins server and navigate to the job that sent the email.
  2. Click on the "Console Output" link next to the job name.
  3. Scroll down to the section where the email was sent. You should see the email content in the console output.

Method 2: Check the Jenkins email logs

  1. Log in to your Jenkins server and navigate to the "Manage Jenkins" page.
  2. Click on "Configure System" and scroll down to the "Email" section.
  3. Click on the "Advanced" button next to "Email Recipients".
  4. In the "Email Log" section, you should see a list of all emails sent by Jenkins, including the subject, body, and recipient.

Method 3: Check the email server logs

  1. If you're using an external email server (e.g., Gmail, Outlook), you can check the email server logs to see the emails sent by Jenkins.
  2. Log in to your email server and navigate to the logs section (e.g., Gmail's "Mail logs" or Outlook's "Sent Items").
  3. Search for emails sent by Jenkins using the sender's email address (usually [email protected]).

Method 4: Use a third-party plugin

  1. Install the "Email Extender" plugin in your Jenkins instance.
  2. Configure the plugin to store email logs in a file or database.
  3. Check the email logs to see the emails sent by Jenkins.

Some popular email plugins for Jenkins include:

By following these methods, you should be able to check the emails sent from your Jenkins server.