By Aleet on
Hello, I've a recurring problem of the contact form sending out html but when it arrives, the user sees all the html tags. This happens in Outlook and other mail readers. I used have the TinyMCE TinyMCE WYSIWYG Editor turned on. I know the problem would go away but just wondering if there is a way to fix this and get html mail from the contact form that appears as html.
Thanks in advance.
Comments
not easy
I think the core modules only send e-mail as plain text MIME type:
http://api.drupal.org/api/4.7/function/user_mail
You'd have to find or implement an alternate mail wrapper to send HTML.
A number of modules (e.g. Project and Organic Groups) have code to strip HTML tags so the recipient doesn't see them.
---
Work: BioRAFT
Only TinyMCE basic users are sending the HTML tags in the email
This happens to me, too, using TinyMCE but only when an the user is given permission to only the TinyMCE basic toolbar. The admin user, who has full toolbar access, doesn't get the html code sent in her emails that are sent from the website.
Any fresh ideas?
No fresh ideas. The problem
No fresh ideas. The problem continues. I've been turning tinymce altogher for contact forms.
How do you turn it off
How do you turn it off altogether for contact forms? I'm having the same problem.
Thanks!
Me Too
I've posted this problem twice in the past week but also got no response. It frustrating because the site I set up (contact.ie) sends all mail to elected representatives.
I"ve just tried turning off TinyMCE and it line breaks and paragraphing seem to work fine, so that is a (very short term) solution.
Drupal you really need to get on to this one to stay ahead of the other CMSs.
Mark Conroy
============
Drupal Core Maintainer for "Out of the Box" Initiative.