Drupal7 website send email using the SMTP module.

I have to theme the email template with my website default theme logo,header and footer links.

How could I achieve this one?

Referred this Using HTML Mail together with SMTP Authentication Support and configured modules HTML Mail and Mail System

Added template htmlmail--smtp.tpl.php with content from this link in my custom theme folder.

While sending htmlmail test mail the template contents are rendered.

Also SMTP test mail renders the template contents but other mails sent via SMTP module don't take this template.

Other mails include the registration mail,reset password, all other system mails and all mails defined from custom modules


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.