A DevOps aspirant who is learning about Continuous Integration and Continuous Deployment using Jenkins. There may be someone who is learning about Monitoring with Prometheus and Alert Manager.
While learning all these tools and technologies the most important thing is “how you are going to send out notifications to users regarding your jobs/builds status (failed or successful).” The recommended way is to send out an email notification to a Project/Team’s distribution list (DL) or to the maintainer of the project. In companies you might have your own SMTP servers and clients configured and can get access to the information by quickly asking your admin teams.
The problem comes when you are practicing these things at you own lab setups, you need to rely on the Public Online email providers such as Google’s Gmail, Yahoo Mail, Outlook and so on.
And you can’t go to their portals every time to read & send emails. You are going to use a local email client such as Outlook Express, Microsoft Outlook, Thunderbird etc..
To configure such a setup, your email software should be configured with the incoming and outgoing mail servers of your email provider (Gmail, Outlook, Office365, Yahoo! Mail etc.).
A Brief intro about the terms involved here
The Simple Mail Transfer Protocol is an internet standard communication protocol for electronic mail transmission. Most of the internet systems use SMTP as a method to transfer mail from one user to another.
POP vs. IMAP
POP (Post Office Protocol) and IMAP (Internet Message Access Protocol) are two different ways to get email in your email program.
Your email port is how email moves from one email server to another.
List of SMTP, IMAP, POP3 Email Ports and Servers of these popular Online email providers
Standard/Default Mail server Ports
Email Notification Settings in my Jenkins Server
Thanks for reading.
Hope you like the article. Please let me know your feedback in the response section.