Only part of footer appearing in Apple Mail

Messages delivered to users with Apple Mail on a Mac or iPhone are missing the top part of the footer. Usually the missing part is the first paragraph, but sometimes it begins in the middle of a paragraph.

Happens every campaign, i.e., it’s not an intermittent issue. Any ideas as to why and how to correct? Does not happen with any client tested on Windows (Thunderbird, Mailbird, emClient). Don’t have a Linux box to test there.

@jimb If you view the HTML source of one of the “missing footer” emails, does the missing part appear?
Might be caused by the default HTML encoding of quoted-printable. Try setting or changing this in the config.php file

define('HTMLEMAIL_ENCODING', '8bit');
1 Like

@ducanc,
Thanks for your reply. Yes, the raw HTML source of the message does show the parts that are missing when the Apple Mail client processes and displays it. (I am somewhat appalled at the HTML code generated by phpList:

and

tags inside tags???) I can’t figure out from the HTML what could be causing it to be omitted when rendered.

Adding that define() to my config.php did not correct the problem.

Ah, the forum won’t allow HTML. That should say: div and paragraph tags inside span tags???

@jimb You need to use the code button </> to include html.
If you are using the simple responsive template then it does have this, which probably leads to the badly structured html that you mentioned

<span class="apple-link">[FOOTER]</span>

You can fix this by editing the template.

@duncanc Thanks again. I changed that line in my template to just [FOOTER] and it did not correct the issue. Then I changed it to <*div* class="apple-link">[FOOTER]</*div*>. That also did not correct the issue.

Here is the HTML from raw source of the message with the second change to the template shown above:

<div class=3D"footer">
                <table
                  border=3D"0"
                  cellpadding=3D"0"
                  cellspacing=3D"0"
                  role=3D"presentation"
                  style=3D"
                    border-collapse: separate;
                    mso-table-lspace: 0pt;
                    mso-table-rspace: 0pt;
                    width: 100%;
                  "
                >
                  <tbody>
                    <tr>
                      <td
                        class=3D"templatecontent-block"
                        style=3D"
                          font-family: sans-serif;
                          font-size: 13px;
                          vertical-align: top;
                        "
                      >
                       <div class=3D"apple-link"><div class=3D"footer" styl=
e=3D"text-align:left; font-size: 85%;">
<p style=3D"text-align:left;>This message was sent to replyto@aikenlearning=
.org by the Center for Lifelong Learning at USCA. You are on this mailing l=
ist because you attended a course at CLL or asked to be put on our mailing=
 list.</p>
<p style=3D"text-align:left;>Send an email to  replyto@aikenlearning.org wi=
th any questions or comments.  You may also call 803-641-3741 or visit <a h=
ref=3D"https://aikenlearning.org/phplist/lt.php?tid=3DeUwABgsGAwEFBhkEBQFSG=
AFUVANIAQBSBx1WW1pXDwVXBlVUUAFLXFJTB1VWVwAYBlMGCEgMVAQFHQkGDlEUUFVWBwZRDw9R=
U1ZSTVJRBFdTVlRQSF0AUlcdBFUJWxRYV1EHG1YHVlYGBwwIVQNSUA" >our website</a> fo=
r information about our courses.</p>
<p style=3D"text-align:left;>Please do NOT use the forward button of your e=
mail application to forward this message to a friend. Instead, use this lin=
k: <a style=3D"text-decoration: none;" href=3D"https://aikenlearning.org/ph=
plist/lt.php?tid=3DeUxTDlAOBwcHWxlXUFEDGAFWBVdIWVFQVR0GBghUCAQBU1ABUFBLXFJT=
B1VWVwAYBlMGCEgMVAQFHQkGDlEUUFVWBwZRDw9RU1ZSTVJRBFdTVlRQSF0AUlcdBFUJWxRYV1E=
HG1YHVlYGBwwIVQNSUA" ><span style=3D"font-weight: 700; color:blue;">FOWARD<=
/span></a>. This will ensure the message forwards correctly.</p>
<p style=3D"text-align:left;"> <a  style=3D"text-decoration: none;" href=3D=
"https://aikenlearning.org/phplist/lt.php?tid=3DeUxRAgsABlAJWxkJAFMHGAFRAgB=
IAVJaUh0AWw8FXVEABVYPAA5LXFJTB1VWVwAYBlMGCEgMVAQFHQkGDlEUUFVWBwZRDw9RU1ZSTV=
JRBFdTVlRQSF0AUlcdBFUJWxRYV1EHG1YHVlYGBwwIVQNSUA" ><span style=3D"font-weig=
ht: 700; color:white; background-color:#222; padding: 3px; margin: 3px;">UN=
SUBSCRIBE</span></a> from all future mailings.</p>
 </div>

I did not include all the closing tags at the end of the HTML. The parts that are missing in Apple Mail’s rendering is the first paragraph tag (“This message was sent…”) and the first part of the third paragraph tag (“Please do NOT use…”), up to the colon after “link.” The missing content is consistent in six messages sent this morning.

I’m sending the code in hope that you have the time to glance at it and see if you see anything that jumps out at you.

These are missing the closing double-quote

Duncan,
That did the trick. I can’t thank you enough and I bow to your superior proof-reading and code-proofing skills!