You are viewing limited content. For full access, please sign in.

Question

Question

Formatting Forms emails

asked on May 22, 2019

What is the best way to ensure that Forms emails are sent cleanly?  I struggle with emails that end up with fonts that will not stay all the same size, spaces where I don't want them and no spaces where I want them.  I find this extremely frustrating!  Today's example:

 

 

Actual Result: 

 

And the html, in which I cannot see what is causing the extra paragraph spaces:

<div><span style="font-weight: 700; font-size: x-small;">(This is an automated email; please do not reply.&nbsp; If you have questions or comments, please call our office or email county@flagstaff.ab.ca directly.)</span><br></div><div><br></div><div><font size="3">Dear&nbsp;{/dataset/First_Name} {/dataset/Last_Name}:</font></div><div><font size="3"><br></font></div><div><p class="MsoNormal"><font size="3"><font size="3"><span style="line-height: 107%; font-family: &quot;Open Sans&quot;, serif; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">Your EVERGREEN Rejuvenation Project trees have arrived!&nbsp; There are {/dataset/Number_of_Trees_set_aside_for_Applicant} trees that have&nbsp;been set aside for you.&nbsp; Please make sure planting is completed as soon as possible in order to ensure your trees will survive.&nbsp; Planting Factsheet:&nbsp; </span><a href="https://www.awes-ab.ca/publications/planting-tree-and-shrub-seedlings/">https://www.awes-ab.ca/publications/planting-tree-and-shrub-seedlings/</a><span style="line-height: 107%; font-family: &quot;Open Sans&quot;, serif; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">.&nbsp;</span></font><o:p></o:p></font></p></div><div><font size="3"><br></font></div><div><font size="3">{/dataset/Additional_Notes_to_Applicant}<br></font></div><div><div><font size="3"><br></font></div><div><font size="3">If you have any questions, please call Flagstaff County at 780-384-4100.&nbsp; Thanks again for participating!<br></font></div><div><br><img src="https://lf.flagstaff.ab.ca/Forms/img/GenericSignature.JPG"></div><div><br></div><div><p class="MsoNormal"><br></p></div></div>

0 0

Answer

SELECTED ANSWER
replied on May 22, 2019

Looks to me like you may have pasted text from another source into the field, and it brought it in with formatting information.

Notice how some of your HTML elements are wrapped in <font></font> elements, which is unusual.

By default, <p> elements introduce a space, one <br> alone won't add a space, but combined with other formatting it can sometimes create more spaces than you were expecting.

Be sure to paste "as plain text" if you're copying text from another application like Word. I always use an application like Visual Studio Code to edit and test the HTML then paste that in instead.

4 0
replied on May 23, 2019

Thanks for the tips, Jason.  I'll give this a try.

1 0
replied on May 11, 2021

This was very helpful!

Christine

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.