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

  • 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.
主站蜘蛛池模板: 郧西县| 嘉定区| 浏阳市| 横山县| 阿荣旗| 梁山县| 利辛县| 肃宁县| 吴桥县| 屏东市| 德格县| 尖扎县| 莒南县| 永宁县| 固始县| 肃北| 衡东县| 义乌市| 胶南市| 涟源市| 东乡| 马边| 潍坊市| 建湖县| 洛阳市| 平顺县| 喜德县| 聊城市| 江华| 承德县| 苗栗县| 宜昌市| 英超| 武宣县| 定襄县| 通城县| 蒲城县| 盱眙县| 阿拉尔市| 洪雅县| 手机|