Chadi
08-21-2013, 11:12 AM
I edited the notify pm and the new reply notification phrases to use HTML code so the emails sent are pretty emails instead of boring plain text.
Here's the weird thing:
I test it out with some pm's and thread replies and the emails are in proper HTML format.
Then a few hours later they come in plain text HTML code like below
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Talk Jesus Forums</title>
</head>
<body style="margin: 0; padding: 0;" dir="ltr">
<table width="100%" border="0" cellspacing="0">
<tbody>
<tr><td align="center">
<table border="0" cellspacing="0" cellpadding="0"><tbody>
<tr><td align="left" width="680" style="padding: 20px 15px 0 15px">
<a href="http://www.talkjesus.com" target="_blank">
<img src="http://www.talkjesus.com/images/tj-email.png" title="Rdio" border="0" alt="Rdio"></a>
</td></tr>
</tbody></table>
</td></tr>
<tr><td style="padding: 0 15px 40px 15px" align="center">
<table border="0" cellpadding="0" cellspacing="0"><tbody>
<tr>
<td align="center" style="padding: 15px 0;">
<img src="http://www.talkjesus.com/images/chatroom.png"/>
</td>
</tr>
</tbody></table>
<table border="0" cellpadding="0" cellspacing="0"><tbody>
<tr>
<td width="600" style="font-size:14px; line-height: 22px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #89949b; height: 121px;" valign="top" align="center">
<div style="line-height: 28px;-webkit-font-smoothing: antialiased; margin-bottom: 5px">
<p>Dear Chad</p>
<p>You have received a new private message at Talk Jesus Christian Forums from <span style="color: #E66B1B">spirit1st</span> entitled
<p><span style="color: #E66B1B">e-mails</span></p>
<p><a href="http://www.talkjesus.com/showthread.php?t=&goto=newpost" style="margin: 4px 0; border-style: solid; display: inline-block; border-width: 18px 50px; border-color: #43a6df; background-color: #43a6df;font-size: 16px; font-weight: normal; text-decoration: none; white-space: nowrap; font-family: 'Lucida Grande', Tahoma, sans-serif;color: #ffffff;" target="_blank">
click here to view the message</a></p>
</div>
</td>
</tr>
</tbody></table>
</td></tr>
<tr><td style="padding: 45px 15px; background-color: #e1e6e9; height: 200px;" align="center">
<table border="0" cellpadding="0" cellspacing="0"><tbody>
<tr>
<td align="center" valign="bottom">
<a href="http://www.talkjesus.com/albumall.php?tabid=155">
<img style="border-width: 0px; border-style: solid; border-color: #b5b6b6;" src="http://www.talkjesus.com/images/albums.png" height="128" width="128"/></a>
</td>
<td rowspan="2" width="60"> </td>
<td align="center" valign="bottom">
<a href="http://www.talkjesus.com/media.php">
<img style="border-width: 0px; border-style: solid; border-color: #b5b6b6;" src="http://www.talkjesus.com/images/tv.png" height="128" width="128"/></a>
</td>
</tr>
<tr>
<td width="275" align="center" valign="top" style="padding-top: 10px; font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #4b5c66;">
<div style="line-height: 22px;-webkit-font-smoothing: antialiased;">
<strong>Member Photos</strong></div>
</td>
<td width="275" align="center" valign="top" style="padding-top: 10px; font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #4b5c66;">
<div style="line-height: 22px;-webkit-font-smoothing: antialiased;">
<strong>Video Gallery</strong></div>
</td>
</tr>
</tbody></table>
</td></tr>
<tr><td style="padding: 45px 15px; background-color: #fff; color: #444; font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased;" align="center">
<div style="margin: 0 0 45px 0;font-size:20px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased;">
This week's hot topics... </div>
<table border="0" cellspacing="0"><tbody>
<tr>
<td valign="top" style="padding: 5px 8px 0 0;">
<img src="http://www.talkjesus.com/images/metro/blue/statusicon/thread_new-30.png" border="0" width="37" height="37">
</td>
<td width="250" valign="middle" align="left">
<a href="http://www.talkjesus.com/bible-study-hall/21455-denominations-speak-sabbath.html" style="font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #e1e6e9; padding: 15px; text-decoration: none">
<span style="color:#999">The Denominations Speak</span></a><br/>
</td>
</tr>
<tr>
<td valign="top" style="padding: 5px 8px 0 0;">
<img src="http://www.talkjesus.com/images/metro/blue/statusicon/thread_new-30.png" border="0" width="37" height="37">
</td>
<td width="250" valign="middle" align="left">
<a href="http://www.talkjesus.com/bible-study-hall/43978-what-does-jesus-mean-when-he-says.html" style="font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #e1e6e9; padding: 15px; text-decoration: none">
<span style="color:#999">What does Jesus mean when....</span></a></td>
</tr>
<tr>
<td valign="top" style="padding: 5px 8px 0 0;">
<img src="http://www.talkjesus.com/images/metro/blue/statusicon/thread_new-30.png" border="0" width="37" height="37">
</td>
<td width="250" valign="middle" align="left">
<a href="http://www.talkjesus.com/evidence-bible-prophecy/38327-beast-revelation.html" style="font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #e1e6e9; padding: 15px; text-decoration: none">
<span style="color:#999">The Beast Revelation</span></a></td>
</tr>
</tbody></table>
</td></tr>
<tr><td style="background-color: #f9f9f9; color: #89949b;" align="center">
<p style="font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #999">to unsubscribe from this topic click
<a href="http://www.talkjesus.com/subscription.php?do=removesubscription&type=thread&subscriptionid=&auth=" style="font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #E66B1B">here</a></p>
<p style="margin: 30px 15px; font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased;">
<a href="http://www.facebook.com/talkjesus" style="text-decoration: none; color: #008fd5;" target="_blank">Facebook</a>
|
<a href="http://www.twitter.com/talkjesus" style="text-decoration: none; color: #008fd5;" target="_blank">Twitter</a>
|
<a href="http://instagram.com/chad_abizeid" style="text-decoration: none; color: #008fd5;" target="_blank">Instagram</a>
|
<a href="http://www.logicweb.com" style="text-decoration: none; color: #008fd5;" target="_blank">LogicWeb</a></p>
</td></tr>
</tbody>
</table>
</body>
</html>
Why is this happening? Replicated on iPhone and outlook.
Here's the weird thing:
I test it out with some pm's and thread replies and the emails are in proper HTML format.
Then a few hours later they come in plain text HTML code like below
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Talk Jesus Forums</title>
</head>
<body style="margin: 0; padding: 0;" dir="ltr">
<table width="100%" border="0" cellspacing="0">
<tbody>
<tr><td align="center">
<table border="0" cellspacing="0" cellpadding="0"><tbody>
<tr><td align="left" width="680" style="padding: 20px 15px 0 15px">
<a href="http://www.talkjesus.com" target="_blank">
<img src="http://www.talkjesus.com/images/tj-email.png" title="Rdio" border="0" alt="Rdio"></a>
</td></tr>
</tbody></table>
</td></tr>
<tr><td style="padding: 0 15px 40px 15px" align="center">
<table border="0" cellpadding="0" cellspacing="0"><tbody>
<tr>
<td align="center" style="padding: 15px 0;">
<img src="http://www.talkjesus.com/images/chatroom.png"/>
</td>
</tr>
</tbody></table>
<table border="0" cellpadding="0" cellspacing="0"><tbody>
<tr>
<td width="600" style="font-size:14px; line-height: 22px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #89949b; height: 121px;" valign="top" align="center">
<div style="line-height: 28px;-webkit-font-smoothing: antialiased; margin-bottom: 5px">
<p>Dear Chad</p>
<p>You have received a new private message at Talk Jesus Christian Forums from <span style="color: #E66B1B">spirit1st</span> entitled
<p><span style="color: #E66B1B">e-mails</span></p>
<p><a href="http://www.talkjesus.com/showthread.php?t=&goto=newpost" style="margin: 4px 0; border-style: solid; display: inline-block; border-width: 18px 50px; border-color: #43a6df; background-color: #43a6df;font-size: 16px; font-weight: normal; text-decoration: none; white-space: nowrap; font-family: 'Lucida Grande', Tahoma, sans-serif;color: #ffffff;" target="_blank">
click here to view the message</a></p>
</div>
</td>
</tr>
</tbody></table>
</td></tr>
<tr><td style="padding: 45px 15px; background-color: #e1e6e9; height: 200px;" align="center">
<table border="0" cellpadding="0" cellspacing="0"><tbody>
<tr>
<td align="center" valign="bottom">
<a href="http://www.talkjesus.com/albumall.php?tabid=155">
<img style="border-width: 0px; border-style: solid; border-color: #b5b6b6;" src="http://www.talkjesus.com/images/albums.png" height="128" width="128"/></a>
</td>
<td rowspan="2" width="60"> </td>
<td align="center" valign="bottom">
<a href="http://www.talkjesus.com/media.php">
<img style="border-width: 0px; border-style: solid; border-color: #b5b6b6;" src="http://www.talkjesus.com/images/tv.png" height="128" width="128"/></a>
</td>
</tr>
<tr>
<td width="275" align="center" valign="top" style="padding-top: 10px; font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #4b5c66;">
<div style="line-height: 22px;-webkit-font-smoothing: antialiased;">
<strong>Member Photos</strong></div>
</td>
<td width="275" align="center" valign="top" style="padding-top: 10px; font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #4b5c66;">
<div style="line-height: 22px;-webkit-font-smoothing: antialiased;">
<strong>Video Gallery</strong></div>
</td>
</tr>
</tbody></table>
</td></tr>
<tr><td style="padding: 45px 15px; background-color: #fff; color: #444; font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased;" align="center">
<div style="margin: 0 0 45px 0;font-size:20px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased;">
This week's hot topics... </div>
<table border="0" cellspacing="0"><tbody>
<tr>
<td valign="top" style="padding: 5px 8px 0 0;">
<img src="http://www.talkjesus.com/images/metro/blue/statusicon/thread_new-30.png" border="0" width="37" height="37">
</td>
<td width="250" valign="middle" align="left">
<a href="http://www.talkjesus.com/bible-study-hall/21455-denominations-speak-sabbath.html" style="font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #e1e6e9; padding: 15px; text-decoration: none">
<span style="color:#999">The Denominations Speak</span></a><br/>
</td>
</tr>
<tr>
<td valign="top" style="padding: 5px 8px 0 0;">
<img src="http://www.talkjesus.com/images/metro/blue/statusicon/thread_new-30.png" border="0" width="37" height="37">
</td>
<td width="250" valign="middle" align="left">
<a href="http://www.talkjesus.com/bible-study-hall/43978-what-does-jesus-mean-when-he-says.html" style="font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #e1e6e9; padding: 15px; text-decoration: none">
<span style="color:#999">What does Jesus mean when....</span></a></td>
</tr>
<tr>
<td valign="top" style="padding: 5px 8px 0 0;">
<img src="http://www.talkjesus.com/images/metro/blue/statusicon/thread_new-30.png" border="0" width="37" height="37">
</td>
<td width="250" valign="middle" align="left">
<a href="http://www.talkjesus.com/evidence-bible-prophecy/38327-beast-revelation.html" style="font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #e1e6e9; padding: 15px; text-decoration: none">
<span style="color:#999">The Beast Revelation</span></a></td>
</tr>
</tbody></table>
</td></tr>
<tr><td style="background-color: #f9f9f9; color: #89949b;" align="center">
<p style="font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #999">to unsubscribe from this topic click
<a href="http://www.talkjesus.com/subscription.php?do=removesubscription&type=thread&subscriptionid=&auth=" style="font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #E66B1B">here</a></p>
<p style="margin: 30px 15px; font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased;">
<a href="http://www.facebook.com/talkjesus" style="text-decoration: none; color: #008fd5;" target="_blank">Facebook</a>
|
<a href="http://www.twitter.com/talkjesus" style="text-decoration: none; color: #008fd5;" target="_blank">Twitter</a>
|
<a href="http://instagram.com/chad_abizeid" style="text-decoration: none; color: #008fd5;" target="_blank">Instagram</a>
|
<a href="http://www.logicweb.com" style="text-decoration: none; color: #008fd5;" target="_blank">LogicWeb</a></p>
</td></tr>
</tbody>
</table>
</body>
</html>
Why is this happening? Replicated on iPhone and outlook.