Welcome Guest, Not a member yet? Register   Sign In
Broken html email?

Not sure when it broke... but i haven't been able to send an html email in some time. The email comes through as blank. Subject line reads ok. Text only email works fine. HTML fails. Thoughts?



- CI 3.1.6
- Not extending Mail library.

This is the test...
PHP Code:
->initialize(array('mailtype' => 'html'))
subject('Your Purchase Receipt')
message('<html><head></head><body><p>This is a test body</p></body></html>')

This is what my mail reader is showing me as the raw email body:
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mailserver.whereiam.com
by mailserver.whereiam.com with LMTP id ICE0A1JU/lkcQwAAjtiaIg
for <[email protected]>; Sat, 04 Nov 2017 19:59:14 -0400
Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Sat, 04 Nov 2017 19:59:14 -0400
Received: from [xxx.xxx.xxx.xxx] (port=49603 helo=586589-www1.theserver.com)
by mailserver.whereiam.com with esmtp (Exim 4.89)
(envelope-from <[email protected]>)
id 1eB8LJ-0004Rz-2U
for [email protected]; Sat, 04 Nov 2017 19:59:13 -0400
Received: by 586589-www1.theserver.com (Postfix, from userid 48)
id 44592C3A2156; Sat,  4 Nov 2017 18:58:33 -0500 (CDT)
To: [email protected]
Subject: =?UTF-8?Q?Your=20Purchase=20Receip?==?UTF-8?Q?t?=
Date: Sat, 4 Nov 2017 23:58:33 +0000
From: "The Server" <[email protected]>
Reply-To: <[email protected]>
User-Agent: CodeIgniter
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_59fe5429412f7"
X-Spam-Status: No, score=1.1
X-Spam-Score: 11
X-Spam-Bar: +
X-Ham-Report: Spam detection software, running on the system "mailserver.whereiam.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root\@localhost for details.

Content preview:  Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding:
   8bit This is a test body [...]

Content analysis details:   (1.1 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                            [score: 0.0031]
 0.0 T_TVD_MIME_NO_HEADERS  BODY: No description available.
 1.0 KAM_LAZY_DOMAIN_SECURITY Sending domain does not have any
                            anti-forgery methods
 2.0 RDNS_NONE              Delivered to internal network by a host with no rDNS
 0.0 T_MIME_MALF            Malformed MIME: headers in body
X-Spam-Flag: NO

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

This is a test body


Content-Type: text/html; charset=UTF-8

Content-Transfer-Encoding: quoted-printable

=3Chtml=3E=3Chead=3E=3C/head=3E=3Cbody=3E=3Cp=3EThis is a test body=3C/p=3E=


Messages In This Thread
Broken html email? - by SomeGuy - 11-04-2017, 05:10 PM
RE: Broken html email? - by SomeGuy - 11-05-2017, 07:50 AM
RE: Broken html email? - by skunkbad - 11-05-2017, 09:07 AM
RE: Broken html email? - by SomeGuy - 11-05-2017, 10:04 AM
RE: Broken html email? - by skunkbad - 11-05-2017, 11:46 AM
RE: Broken html email? - by SomeGuy - 11-05-2017, 02:32 PM

Theme © iAndrew 2016 - Forum software by © MyBB