Welcome Guest, Not a member yet? Register   Sign In
html email still sending as text/plain
#14

[eluser]LuckyFella73[/eluser]
Very strange..

I now uploaded the script to our server and made a test. All
data you get by POST were hardcoded in my testfile for saving time reasons
and I replaced my email adresses in th debug text before posting here ..

Everything worked fine. Here my debug text:
Quote:Your message has been successfully sent using the following protocol: mail<br /><pre>User-Agent: CodeIgniter
Date: Fri, 1 Oct 2010 13:02:56 +0200
From: "SECRET" <[email protected]>
Return-Path: <[email protected]>
Reply-To: "Kalle" <[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_4ca5bfe031bdf"

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

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

Hi Kalle,
The current list price on this bike is £21. OTR.
We are currently able to offer this bike at an astonishing: £15. OTR.
An amazing saving of: £6.
This price is only available whilst current stocks last.
Kalles bike description
Kind Regards
Sales Team


--B_ALT_4ca5bfe031bdf
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
=?utf-8?Q?QUOTE_REQUEST?=

Hi Kalle,&lt;br /&gt;&lt;br /&gt;
The current list price on this bike is £21. OTR.&lt;br /&gt;&lt;br /&gt;

We are currently able to offer this bike at an astonishing: &lt;strong&gt;£1=
5. OTR&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;
An amazing saving of: &lt;strong&gt;£6&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;

This price is only available whilst current stocks last.&lt;br /&gt;&lt;br /&gt;
Kalles bike description&lt;br /&gt;
Kind Regards&lt;br /&gt;
Sales Team

--B_ALT_4ca5bfe031bdf--</pre>

So your script seems to work. I didn't change anything from the codeblock I posted back
besides the POST data lines.


Messages In This Thread
html email still sending as text/plain - by El Forum - 09-30-2010, 05:36 AM
html email still sending as text/plain - by El Forum - 09-30-2010, 05:50 AM
html email still sending as text/plain - by El Forum - 09-30-2010, 05:51 AM
html email still sending as text/plain - by El Forum - 09-30-2010, 05:51 AM
html email still sending as text/plain - by El Forum - 09-30-2010, 05:59 AM
html email still sending as text/plain - by El Forum - 09-30-2010, 11:00 AM
html email still sending as text/plain - by El Forum - 09-30-2010, 11:47 AM
html email still sending as text/plain - by El Forum - 09-30-2010, 03:14 PM
html email still sending as text/plain - by El Forum - 10-01-2010, 03:54 AM
html email still sending as text/plain - by El Forum - 10-01-2010, 04:14 AM
html email still sending as text/plain - by El Forum - 10-01-2010, 04:27 AM
html email still sending as text/plain - by El Forum - 10-01-2010, 04:30 AM
html email still sending as text/plain - by El Forum - 10-01-2010, 04:48 AM
html email still sending as text/plain - by El Forum - 10-01-2010, 05:13 AM
html email still sending as text/plain - by El Forum - 10-01-2010, 05:41 AM
html email still sending as text/plain - by El Forum - 10-01-2010, 06:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB