Skip to main content

Posts

Showing posts from January, 2019

Drupal 7 Send HTML Emails having token in it

Recently i got a requirement to send HTML emails on user registration, site developed using Drupal 7. Following are the module i used to send HTML mail SMTP   Link described here to configure MIME mail   Link to theme mime mail But i wanted to use token which shown below in body I wrote a simple module to alter the body of html and insert token it it . Module is available on github Repository URL :  https://github.com/ashishsingh1331/sneharts_common.git look for " register_no_approval_required " key