ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

HTML in Email via Communicate

September 02, 2010 6:06pm

Subscribe [3]
  • #1 / Sep 02, 2010 6:06pm

    Using the vintage and amazing 1.6.8—

    How do you send nice formatted emails, with images, tables, etc in Communicate?

    I could not find this in the forums, to my surprise (Meaning: I’m doing something stupid).

    When I put in HTML in communicate to send an email, it arrives in my mailbox as gibberish.

    Stuff like this:

    =?utf-8?Q?d?=
    X-PHP-Script: <a href="http://www.theepisodes.org/mainsys/index.php">http://www.theepisodes.org/mainsys/index.php</a> for 58.28.152.22
    User-Agent: ExpressionEngine 1.6.8
    Date: Thu, 2 Sep 2010 16:55:24 -0400
    From: "Dude, we're on" <[email protected]>
    Reply-To: "[email protected]" <[email protected]>
    X-Sender: .(JavaScript must be enabled to view this email address)
    X-Mailer: ExpressionEngine 1.6.8
    X-Priority: 3 (Normal)
    Message-ID: <[email protected]>
    Mime-Version: 1.0
    Content-Type: multipart/alternative; boundary="B_ALT_4c800f3c1a572"
    Return-Path: .(JavaScript must be enabled to view this email address)
    X-OriginalArrivalTime: 02 Sep 2010 20:55:25.0166 (UTC) FILETIME=[2A8530E0:01CB4AE1]
    
    This is a multi-part message in MIME format.
    Your email application may not support this format.

    HELP!

    THANKS

  • #2 / Sep 02, 2010 9:19pm

    Brandon Jones

    5500 posts

    Hi Richard,

    Have you set the Email Formatting to HTML on the Communicate page before sending? If so, which mail client(s) have you tried this with, and can you give us a short snippet of valid HTML that will reproduce the issue for you?

  • #3 / Sep 02, 2010 9:25pm

    Yes, set to HTML in my email settings - and it appeared okay in my hosting email, but in entourage it was nothing but words (no image, no coloring, etc).

    Here’s the simple html I was testing with:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html >
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
        background-color: #FFC;
        margin-left: 10px;
        margin-top: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
    }
    -->
    </style></head>
    
    <body>
     
    <table width="100%" border="0">
      <tr>
        <td bgcolor="#000000"> </td>
        <td> <a href="http://www.theepisodes.org/images/graph.gif">http://www.theepisodes.org/images/graph.gif</a> </td>
        <td bgcolor="#000000"> </td>
      </tr>
      <tr>
        <td> </td>
        <td bgcolor="#000000"> </td>
        <td> </td>
      </tr>
    </table>
     
    </body>
    </html>
  • #4 / Sep 03, 2010 2:34am

    John Henry Donovan

    12339 posts

    Richard,

    Ok so Entourage is the issue here.

    Can you remove the Doctype and see if that works for you.
    So you html starts with this

    <html>
    <head>
  • #5 / Sep 03, 2010 4:41pm

    That’s genius - did the trick. I was more cynical, thinking I would have to learn some new code language. THANKS

  • #6 / Sep 03, 2010 9:29pm

    Brandon Jones

    5500 posts

    Glad John Henry helped, Richard!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases