I have a client site that's running Simplenews with Mime Mail and SMTP Authentication Support. Everything works fine except when my client wants to include a link to a YouTube video (and just to be clear, this just a link to the video, not an attempt to embed a video in the newsletter). Here is an excerpt of the resulting newsletter email:


. . . and so on. No other links cause this to occur. When I look at the email source, the plain text version is fine. This only happens to the HTML version. I am thoroughly stumped. Has anyone seen anything like this?

  • Looks like a PGP/GPG-encoded mail.
    – Paul
    Commented Dec 4, 2014 at 7:42
  • That's interesting. Any idea why a YouTube link would invoke PGP/GPG encoding?
    – JOakland
    Commented Dec 4, 2014 at 21:34
  • It just looks like it. I wouldn't even know how this could happen if you don't have encryption keys set up (which I guess you don't have on a server).
    – Paul
    Commented Dec 5, 2014 at 7:31

1 Answer 1


It turns out this was a bug in the SMTP Authentication Module. It uses uses 8bit encoding in the Content-Transfer-Encoding header for the base64 encoded body. I applied this patch with success:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.