Drupal Version: 7.32
Printer, email and PDF versions: 7.x-2.0
Mail module: SMTP Authentication Support 7.x-1.0
Browser: Chrome
Mail Tool: gmail
As reported in this issue, when sending an email, the recipient receives the raw html generated by the print.tpl.php template. I took the html in the email and saved it in a file called test.html. When I opened the file using my browser, it looked fine. But within gmail, the html is not rendered. The SMTP module configuration has a checkbox to Allow to send e-mails formated as Html. This is checked. We do send some webform emails in html format.
I also created a print--mail.tpl.php template and it is being used. I don't know if I'm expected to modify this template and if so, can you please provide some guidance?
Thank you. This module is very helpful.
Comment | File | Size | Author |
---|---|---|---|
#3 | sharebyemail-plaintohtml.patch | 391 bytes | benJBmC |
Comments
Comment #2
ann b CreditAttribution: ann b commentedThis issue is a duplicate of Send email breaks with SMTP module. That issue will not be fixed in the SMTP Module.
The work-around below worked for me:
*
Comment #3
benJBmC CreditAttribution: benJBmC commentedRight ann b, that's a solution but you will have to update your copies of code if you update print module.
Problem comes from check_plain() function in file print_mail.module.
Need to change :
to
See patch attached.