Welcome Guest, Not a member yet? Register   Sign In
Strange Email Issue
#11

[eluser]Zuki[/eluser]
Derek,

Thank you for making me think in different direction.
My environment that was giving we this problem is WAMP. Once I moved the files to Linux server everything started to work just fine. I guess it is my local server problem then.
#12

[eluser]Derek Jones[/eluser]
You might try to play around with the email class's newline and crlf class variables. If you could post the raw email source, it would be easy to tell if it's a newline problem.
#13

[eluser]Zuki[/eluser]
This is my debugging info:

Code:
Your message has been successfully sent using the following protocol: mail

User-Agent: example.com
Date: Wed, 3 Sep 2008 11:35:21 -0400
From: "example Orders"
Return-Path:
Reply-To: "[email protected]"
X-Sender: [email protected]
X-Mailer: example.com
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="B_ALT_48beaeb9d6b22"
This is a multi-part message in MIME format.
Your email application may not support this format.

--B_ALT_48beaeb9d6b22
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

The new order has been submittedProductQtyUnit PriceSubtotalBrand MR24
2'4'' Personal Mini Ramp1$395.00 $395.00Subtotal: $395.00Shipping:
$0.00Grand Total: 395.00Shipping InfoTest TestAddressCity, AZ 15217Billing
InfoTest TestAddressCity, AK 15217Credit card: Visa ************0506


--B_ALT_48beaeb9d6b22
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Your order at example.com
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.=
w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;
&lt;head&gt;
&lt;meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" /&gt;
&lt;title&gt;Your order&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;&lt;p>The new order has been submitted</p><table id=3D"cart"><tr><th cla=
ss=3D"prod">Product</th><th>Qty</th><th>Unit Price</th><th>Subtotal</th></t=
r><tr><td class=3D"prod">Brand mr24 2'4'' Personal Mini Ramp</td><td>1</td=
><td>$395.00 </td><td>$395.00</tr><tr id=3D"summ"><td colspan=3D"4" style=
=3D"text-align: right; padding: 10px;"><p>Subtotal: $395.00</p><p>Shipping:=
$0.00</p><p id=3D"gtotal">Grand Total: 395.00</p></td></tr></table><h2 cla=
ss=3D"hd2">Shipping Info</h2><p>Test Test<br />Address<br />City, AZ 1521=
7</p><h2 class=3D"hd2">Billing Info</h2><p>Test Test<br />Address<br />Ci=
ty, AK 15217</p><p>Credit card: Visa ************0506&lt;/body&gt;
&lt;/html&gt;

--B_ALT_48beaeb9d6b22--
#14

[eluser]Derek Jones[/eluser]
Not from the debugger, but from what your MUA actually receives. The key here is whether or not the email server is transforming the data after CI hands it off. The above looks fine.
#15

[eluser]Zuki[/eluser]
This is the email source:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.=
w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;
&lt;head&gt;
&lt;meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" /&gt;
&lt;title&gt;Your order&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;&lt;p>The new order has been submitted</p><table id=3D"cart"><tr><th cla=
ss=3D"prod">Product</th><th>Qty</th><th>Unit Price</th><th>Subtotal</th></t=
r><tr><td class=3D"prod">Brand MR24 2'4'' Personal Mini Ramp</td><td>1</td=
><td>$395.00 </td><td>$395.00</tr><tr id=3D"summ"><td colspan=3D"4" style=
=3D"text-align: right; padding: 10px;"><p>Subtotal: $395.00</p><p>Shipping:=
$0.00</p><p id=3D"gtotal">Grand Total: 395.00</p></td></tr></table><h2 cla=
ss=3D"hd2">Shipping Info</h2><p>Test Test<br />Address<br />City, AZ 1521=
7</p><h2 class=3D"hd2">Billing Info</h2><p>Test Test<br />Address<br />Ci=
ty, AK 15217</p><p>Credit card: Visa ************0506&lt;/body&gt;
&lt;/html&gt;
#16

[eluser]Derek Jones[/eluser]
Odd, that should be rendered okay by an MUA, unless there are invisible characters (which very well may be the case). The only thing odd about it is that you have a couple lines that are breaking short of the 76th character. Not sure why that would occur, but anything less than 76 would still be correct and rendered properly for the quoted-printable MIME type.
#17

[eluser]Zuki[/eluser]
Well, at least I know that it is my server, not CI.

Thanks again!
#18

[eluser]frenzal[/eluser]
There do indeed appear to be some issues when sending mails on windows servers (IIS). I get random equal signs, if I send my mail with swiftmailer all is normal again, encoding issues like this give me a headache Smile
#19

[eluser]Derek Jones[/eluser]
frenzal, have you viewed the raw source as received by your MUA, and can you post it?




Theme © iAndrew 2016 - Forum software by © MyBB