- 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.
推薦閱讀
- 零基礎學Visual C++第3版
- FreeSWITCH 1.8
- Java高并發核心編程(卷2):多線程、鎖、JMM、JUC、高并發設計模式
- Linux網絡程序設計:基于龍芯平臺
- Apache Spark 2.x for Java Developers
- 分布式數據庫原理、架構與實踐
- Instant Zurb Foundation 4
- Go Systems Programming
- FusionCharts Beginner’s Guide:The Official Guide for FusionCharts Suite
- 自己動手構建編程語言:如何設計編譯器、解釋器和DSL
- Java Script從入門到精通(第5版)
- Python深度學習:基于PyTorch
- Python High Performance(Second Edition)
- 開源心法
- Boost.Asio C++ Network Programming Cookbook