• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML emails - Displaying message boundary string at the end of emails

#1
[eluser]verynewtothis[/eluser]
Unique message boundary strings like
Quote:B_ALT_4a51ea5e8346f
are getting added at the end of my html emails.
Is it common with html emails or is there a way to avoid this?

#2
[eluser]GKenny[/eluser]
I'd like to have a solution to that problem too! Its been bugging me for quite a while now!

#3
[eluser]sophistry[/eluser]
not a mistake. this is required per the RFC 1521:
http://tools.ietf.org/html/rfc1521
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. "

cheers.

#4
[eluser]GKenny[/eluser]
Code:
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"
Return-Path:
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.

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

Some non-HTML text


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

--B_ALT_4a5632fecdeea--

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

#5
[eluser]sophistry[/eluser]
oh, ok, let me google that for you.

Wink

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.

cheers.

#6
[eluser]mattpointblank[/eluser]
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)


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.