Hello,
Firstly thanks for the module.
I have SMTP module installed on my server and i am using "Allow to send e-mails formated as Html" option checked from SMTP. But when i have checked this item and try email functionality, it sends me raw html email.
But if i disable it and try then mail sent correctly as designed.
So i debuged in the print_mail.module and found that in hook_mail
case 'sendpage':
$message['body'][] = check_plain($params['body']);
$message['headers']['Content-Type'] = 'text/html; charset=utf-8';
break;
check_plain creates problem.
Can someone please help me out with this ? or i am missing some settings for smtp or print ??
Thanks,
Vj
Comments
Comment #1
betovargSubscribe. The exact same thing is happening to me. Had to disable that same checkbox in smtp module.
Comment #2
jcnventuraThat check_plain needs to be there, in order to send HTML mail when the SMTP module is not installed.. I'm sure this module isn't the only one that does that.
The SMTP module should try to handle these situations properly. Maybe checking if content-type is 'text/html; charset=utf-8'?
Comment #3
wundo commented