Fork Tendenci on GitHub

[T4] Newsletters - Why was my email blocked for all the email addresses?

If you receive a newsletter submission recap that shows all the newsletters were blocked for all address: 

This generally happens when the email contains a lot of extraneous source HTML code that will look similar to the example below:

<span style="font-family: verdana"><span style="font-size: 10pt"><span style="color: #000000"><span style="font-family: verdana; font-size: 10pt"><span style="color: #006666"><span style="font-family: verdana; color: #006666; font-size: 10pt"><span style="font-family: verdana; color: #006666; font-size: 10pt"><span style="font-size: 13px"><span style="font-family: verdana; color: #000000; font-size: 10pt"><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">Join</span></span><span class="apple-converted-space"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 12pt;">&nbsp;</span></span><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">ASC</span></span><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">&nbsp;Corporate Communications Advisor&nbsp;Judi Ottmann,</span></span><span class="apple-converted-space"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 12pt;">&nbsp;</span></span><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">ASC</span></span><span class="apple-converted-space"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 12pt;">&nbsp;</span></span><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">Environmental Response Officer</span></span><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">&nbsp;Rob Lefevers, and&nbsp;U.S. Coast Guard&nbsp;Commander Jim Elliott,&nbsp;for a peek inside</span></span><span class="apple-converted-space"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 12pt;">&nbsp;</span></span><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">ASC&rsquo;s</span></span><span class="apple-converted-space"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 12pt;">&nbsp;</span></span><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">Joint Area Command Center</span></span><span class="apple-converted-space"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 12pt;">&nbsp;</span></span><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">during an oil spill response drill. You will learn how this team prepares and implements</span></span><span class="apple-converted-space"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 12pt;">&nbsp;</span></span><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">ASC&rsquo;s</span></span><span class="apple-converted-space"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 12pt;">&nbsp;</span></span><span class="apple-style-span"><span style="line-height: 115%; font-family: 'verdana', 'sans-serif'; color: black; font-size: 10pt;">Oil Spill Response Plan from a communications perspective.</span></span></span><span style="font-family: verdana; color: #000000; font-size: 10pt">&nbsp;</span><span style="font-family: verdana; color: #000000; font-size: 10pt">

When the HTML code for the newsletter contains this kind of code it is likely because of 2 reasons:

  1. The content of the email was more than likely copied straight from Microsoft Word. Word is a documenting tool that wraps each bit of text in formatting code so that whether you print it on a HP printer or an Epson Printer it will look the same. This works well for documents. This code does not work on the Internet. The formatting code that is required on the Internet is HTML - it works the same way, ensuring that the content looks the same on most computers.
     
    -or-
     
  2. The content of the email was formatted within the WYSIWYG editor over and over again, adding lines of color and/or font size formatting.

Mail servers will see the additional and unnecessary code as an attempt to send along a virus in the “unseen” part of an email and they will block it from being delivered.

To keep this from happening in the future we suggest that you either:

  1. Drop the content into Notepad first or use the Clean-up tool (the little broom icon located at the top left of the content editor.) The clean-up tool will allow you to choose to remove all Word Formatting from the content. This will strip the content down to just text. You will then want to use the content editor to format the content – this will add the proper HTML code for you.
  2. If you format the content within the newsletter editor and add a color, size or font you don't like, remove the formatting before you add a new one.

To send the newsletter again, you can clone it and clean up the code using the tool mentioned above.