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

Mail API

Now that we know how to log things in our application, let's turn our attention to the Drupal 8 Mail API. Our goal for this section is to see how we can send emails programmatically in Drupal 8. In achieving this goal, we will explore the default mail system that comes with the core installation (which uses PHP mail), and also create our own system that can theoretically use an external API to send mails. We won't go all the way with the latter because it's beyond the scope of this book. We will stop after covering what needs to be done from a Drupal point of view.

In the next and final section, we will look at tokens so that we can make our mailings a bit more dynamic. However, before we do that, let's get into the Mail API in Drupal 8.

主站蜘蛛池模板: 延川县| 古丈县| 淄博市| 怀来县| 平昌县| 葵青区| 集贤县| 夏津县| 桑植县| 合江县| 谢通门县| 子长县| 安新县| 涞水县| 吉林市| 康平县| 江口县| 永定县| 长海县| 美姑县| 祁门县| 荃湾区| 松滋市| 平乡县| 郓城县| 怀仁县| 比如县| 瑞金市| 平塘县| 天气| 祁东县| 古丈县| 镇原县| 瑞安市| 日土县| 新河县| 沿河| 石城县| 井冈山市| 红原县| 天全县|