Breaking

Followers

Tuesday, 21 March 2017

How to send mail programmatically in Drupal 8

Sometime we require emails to be sent on certain events e.g. for a blog website or a news site we may need to send email after creating new article or blog or in case of e-commerce site we may need to send  confirmation mail after successful completion of an order. In this article we are going to explore how we can use Mail API in Drupal 8 programmatically for sending emails.

Here we will be looking on how to send the email after successful creation of article.

http://valuebound.com/resources/blog/how-to-send-mail-programmatically-drupal-8

No comments:

Post a Comment