[eluser]attos[/eluser]
Hi there,
I've been developing an small app that collects several RSS feeds and sends an email at the end of the day. The email sent is in html format.
I have two problems. The major one is that the body is being wrapped as printable at column 76. To fix this I commented out line #1022 of the email class (BTW I'm using CI 1.7):
Code:
//$this->_body = $this->_prep_quoted_printable($this->_body);
After fixing this, now the boundry shows at the end of the body, I think this has to do with how the body is being buit.
The following is a simplified example.
Code:
User-Agent: CodeIgniter
Date: Wed, 28 Jan 2009 08:14:44 -0500
From: "RSS Reader"
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_49805a44e1ebf"
This is a multi-part message in MIME format.
Your email application may not support this format.
--B_ALT_49805a44e1ebf
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
This is an HTML email.
--B_ALT_49805a44e1ebf
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Today's News
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
:
Blah, Blah, Blah...
:
</head>
</html>
--B_ALT_49805a44e1ebf--
I'm not an email expert, but it seems that both parts have the same boundry id and they must be different.
TIA. Keep the exelent work. I really enjoy working with CI.