Welcome Guest, Not a member yet? Register   Sign In
HTML emails - Displaying message boundary string at the end of emails

Unique message boundary strings like
are getting added at the end of my html emails.
Is it common with html emails or is there a way to avoid this?

I'd like to have a solution to that problem too! Its been bugging me for quite a while now!

not a mistake. this is required per the RFC 1521:
Quote:"7.2. The Multipart Content-Type

In the case of multiple part entities, in which one or more different
sets of data are combined in a single body, a "multipart" Content-
Type field must appear in the entity's header. The body must then
contain one or more "body parts," each preceded by an encapsulation
boundary, and the last one followed by a closing boundary. "


Votre message a bien été expédié par le protocole suivant: mail

User-Agent: CodeIgniter
Date: Thu, 9 Jul 2009 14:12:14 -0400
From: "m"
Reply-To: "[email protected]"
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="B_ALT_4a5632fecdeea"

This is a multi-part message in MIME format.
Your email application may not support this format.

Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Some non-HTML text

Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
&lt;html &gt;
        &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
        some HTML text


Well, it seems that Outlook doesnt like this because im still getting "B_ALT_4a5632fecdeea" at the end of the email...Any idea?

oh, ok, let me google that for you.


it seems the answer might be in the first link.

hint: it seems to have to do with the fact that MS Outlook needs some special coddling.


To anyone unsure what the above post is referring to, changing the config to this fixed it for me:

$config['newline'] = "\n";
$config['crlf'] = "\n";

(mine was "\r\n" before)

Theme © iAndrew 2016 - Forum software by © MyBB