I finally got around to upgrading the webform module. Didn't find it necessary before because it worked fine. As soon as I did I lost all the formatting on my email template. The emails are now sent to me with all the info in one line, no breaks, returns or style. I did read that version 3 works different. I like the idea of being able to style the template within the module settings however it doesn't seem to like any html tags. Is there a way to add html tags in the email template >> custom template? I have send email as html selected, mimemail module is installed.
Thanks.

CommentFileSizeAuthor
#4 html-screenshot.png83.92 KBfuquam

Comments

quicksketch’s picture

If you are sending that particular e-mail as HTML and have MIME Mail installed, you should be able to enter HTML tags into the template and have them be respected. In fact you *must* do this if sending HTML e-mails, otherwise they arrive on one long line with no paragraphs. If you set the template back to "Default" after checking the HTML box, Webform should automatically add <p> tags around all lines for you.

fuquam’s picture

Thanks for the reply. So if Webform isn't respecting the HTML tags using custom template and Webform is not adding <p> tags automatically using default should I assume there is something wrong with Mime mail? Emails are still coming in as one long line.
Thanks.

quicksketch’s picture

Could you screenshot your e-mail template configuration? I'm not clear on if you've actually included HTML in your template or not.

fuquam’s picture

StatusFileSize
new83.92 KB

Here is the html I'm using in the custom template. Attached a screen shot as well. I believe Mime Mail generates the header and body tags right?
Thanks for the response.

<p>Submitted on %date</p>
<p>Submitted by user: %username [ %useremail ] [%ip_address]</p>

<p style="view_message_container"> %email_values </p>

<p style="view_message_container">%email[name]</p>

<p style="view_message_container">%email[email]</p>

<p style="view_message_container">%email[name]</p>

<p style="view_message_container">%email[phone]</p>

<p style="view_message_container">%email[city]</p>

<p style="view_message_container">%email[state]</p>


<p>The results of this submission may be viewed at:
%submission_url </p>
quicksketch’s picture

Finally, could you also post the raw contents of the e-mail you receive (including headers and the source of the text)? Everything looks good from the Webform side in your screenshot, perhaps something is going wrong when this message is sent to MIME Mail?

quicksketch’s picture

Status: Active » Closed (fixed)

Closing after lack of activity.