官术网_书友最值得收藏!

  • Mastering Symfony
  • Sohail Salehi
  • 331字
  • 2021-07-16 11:29:02

Simple Email Service

Amazon Simple Email Service (SES) is an SMTP server to send limited amounts of e-mails per day. At the time of writing this book, it is about 200 e-mails per day, which is more than enough. To set up SES, follow these steps:

  1. On the console page, click on SES under App Services:
    Simple Email Service
  2. On the next page, click on SMTP Settings, and copy the server name and port number to a file as you will need them for the next step:
    Simple Email Service
  3. Click on the Create My SMTP Credentials button and wait until you are redirected to the IAM service (another Amazon service to manage credentials). Click on the Create button:
    Simple Email Service
  4. Copy and paste the username and password fields in the following page because you will need them for the next topic as well:
    Simple Email Service

    Note

    The credentials provided here are fake. Don't use them. Use your custom ones. You don't think I'm going to expose my password to the world, do you?

Configuring Jenkins

Now that we have the mail server and Jenkins plugins in place, it is time to configure Jenkins itself, by preforming the following steps:

  1. Navigate to Manage Jenkins | Configure System and, leaving all other settings as default, scroll down to Jenkins Location. As you can see, it is already set to our EC2 instance. Set the e-mail address that you want all notifications sent from:
    Configuring Jenkins
  2. Under SSH Server, disable SSHD port.
  3. Scroll further down to the E-mail Notification section and click on the Advanced button. Check Use SMTP Authentication and Use SSL. Now fill in this form with SMTP server settings that you did from the previous section:
    Configuring Jenkins

    If you'd rather use your own SMTP settings instead of SES, feel free to replace this form with your settings.

  4. Click on the Test configuration button, and if everything is set up correctly, you will see a success message and receive an e-mail shortly.
  5. Finally, click on the Save button at the bottom of this page.
主站蜘蛛池模板: 赣州市| 永州市| 肇州县| 宁南县| 昭通市| 通海县| 穆棱市| 永济市| 津南区| 定襄县| 汤原县| 中卫市| 澳门| 西青区| 丹东市| 射洪县| 桦川县| 英山县| 民乐县| 新泰市| 北碚区| 加查县| 龙里县| 留坝县| 广西| 元氏县| 新竹市| 乌拉特后旗| 英德市| 睢宁县| 宁陵县| 潞城市| 西宁市| 柯坪县| 罗田县| 合川市| 扎囊县| 富民县| 沙洋县| 威远县| 沧州市|