Webform Rocks! It is really a wonderful replacement for the Survey module. I have only one "cosmetic" concern. In the form itself, I have used the "strong" and "em" tags liberally. It looks great. I have also successfully configured the module to automatically send me e-mails for every submission. I only wish that the "strong" and "em" tags were not printed in the e-mails. It's just distracting.

Is there something I can do to have it both ways? I like the way the form looks, but I would like the e-mails to be void of HTML tags.

Thanks.

Comments

jboeger’s picture

Having the same problem.... emailed results have tags in them. How to screen them out? thanks,,,

quicksketch’s picture

Category: support » feature

Sounds like something that Webform should do for you. Where are you putting your em and strong tags (as labels, default values?). I'd like to run a strip_tags() function on there to keep it out of the e-mail by default.

jboeger’s picture

Hi Quicksketch...

I'm not putting in any tags at all. The emails look terrible (I will post
below.) The official Webform module on another install works fine...
it's this beta3...

<p>Submitted on Apr 6 2008 - 12:28pm<br />
Submitted by user: drupaladmin [68.122.192.111]</p>
<p>Submitted values are:<br />
 Your Name: Jack Test<br />
 Your Email: <a href="mailto:jack@testing.com">jack@testing.com</a><br />
 Select Region: <span class="caps">CA</span> - Southern California<br />
 Question or comment?: testing tasting testing</p>
<p>The results of this submission may be viewed at:<br />
<a href="http://www.supercleansite.com/web/node/129?sid=4" title="http://www.supercleansite.com/web/node/129?sid=4">http://www.supercleansite.com/web/node/129?sid=4</a></p>
quicksketch’s picture

Outrageous, I don't know how the webform emails could be formatted like this. Do you have any modules that affect outgoing e-mails (like mime_mail) installed? It looks like the output is being affected after webform has told Drupal to send the mail.

jboeger’s picture

I turned off Mime Mail and problem went away. Thanks for the suggestion. I wonder if this means I can't stylize newsletters now. Hmmm.

quicksketch’s picture

Title: HTML Tags showing up in E-mailed Submissions » mime_mail causes HTML tags to show up in E-mailed Submissions
Category: feature » support
Status: Active » Closed (fixed)

Considering this is a support request for mime_mail, not directly Webform, I'm closing out this issue and changing the title for posterity.