- Drupal 8 Module Development
- Daniel Sipos
- 146字
- 2021-07-02 15:45:20
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.
推薦閱讀
- ExtGWT Rich Internet Application Cookbook
- PHP 從入門到項(xiàng)目實(shí)踐(超值版)
- Essential Angular
- Elastic Stack應(yīng)用寶典
- Java應(yīng)用開發(fā)技術(shù)實(shí)例教程
- QGIS:Becoming a GIS Power User
- 好好學(xué)Java:從零基礎(chǔ)到項(xiàng)目實(shí)戰(zhàn)
- Hands-On GUI Programming with C++ and Qt5
- HTML+CSS+JavaScript網(wǎng)頁設(shè)計(jì)從入門到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開發(fā)視頻大講堂)
- HTML5+CSS3+jQuery Mobile APP與移動(dòng)網(wǎng)站設(shè)計(jì)從入門到精通
- Simulation for Data Science with R
- NGUI for Unity
- Learning D
- Python Social Media Analytics
- Learning Alfresco Web Scripts