title: Emails sometimes get scrambled
body: <p>Folks, </p>
  
  <p>I have a PHP-based site (using the <a href="http://qcu.be" rel="nofollow noreferrer">QCubed framework</a>); as a part of the site, I have a daemon that's sending out several thousand emails a day (no i'm not a spammer, everything is opt-in :)). Emails are sent through a custom framework component; that component serves as an SMTP client. I'm using a paid SMTP gateway from DNSExit.com to get the emails actually delivered. </p>
  
  <p>Those emails are simple HTML-based emails; they really have just simple links inside. </p>
  
  <p>My issue is that these links sometimes (not consistently!) get scrambled during transition. Tags somehow get mixed up, and some links are non-functional in the email. The issue happens on a small percentage of all sent emails; it is not consistent (i.e. the same exact source message HTML may or may not cause the scrambling in transition). </p>
  
  <p>Have any of you seen this? Any thoughts on how to troubleshoot? </p>