Below are steps to configure Jenkins for sending email
Configure SMTP configuration
- Go to Jenkins > Manage Jenkins > Configure System
- Find section “E-mail Notification”
- Fill up required details based on your own SMTP configuration parameters
- SMTP Server: smtp.server.com
- Use SMTP Authentication: checked
- User Name: user@email.com
- Password: *******
- Use SSL: checked
- SMTP port: 465 (or your smtp port if different)

- Click on “Apply”
- Note that “from” address in sent email is set to “System Admin e-mail address” defined in “Jenkins Location” section. You may want to edit that one to match your expectation.

- Immediately test sending an email using option “Test configuration by sending test e-mail”

- Ensure sending is successful