How to configure hostiger mail in jenkins

To configure Hostinger mail in Jenkins, you'll need to set up an SMTP server and configure Jenkins to use it for sending emails. Here's a step-by-step guide to help you achieve this:

Step 1: Set up an SMTP server

Hostinger provides an SMTP server for sending emails. You can use the following settings:

Step 2: Configure Jenkins to use the SMTP server

In your Jenkins instance, go to Manage Jenkins > Configure Jenkins.

Scroll down to the Email Notification section and click on Advanced.

In the SMTP Server section, enter the following settings:

Step 3: Test the SMTP server connection

Click the Test button to verify the SMTP server connection. If everything is set up correctly, you should see a success message.

Step 4: Configure email notifications in Jenkins

Now that you've set up the SMTP server, you can configure email notifications for specific Jenkins jobs or the entire Jenkins instance.

To do this, go to the Configure Jenkins page and scroll down to the Email Notification section.

Select the email notification options you want to enable, such as sending emails on job completion, failure, or cancellation.

Step 5: Save changes and test email notifications

Save the changes to the Configure Jenkins page.

Trigger a Jenkins job or wait for a job to complete naturally. If everything is set up correctly, you should receive an email notification from your Hostinger email address.

That's it! You should now have Hostinger mail configured in Jenkins for sending email notifications.