HTML "send mail" emails blank
My HTML emails are also not working. I send them and I get and empty email with just text. I have read through the FAQ and the tutorial and I am currently lost..
I have verions (1.3.8) MIME html is set to true. What I am confused on is this..
You have the HTML email templates present in the /email/ folder of your site, and haven't changed permissions in any way that would prevent PHP from reading them
I got that out of the FAQ from an earlier post. I don't know what they mean by the html template. Do i need to put the actual html file on the server and if so what do i name the file??
Thanks
Re: NO HTML email send (1.3.8)
Quote:
Originally Posted by
FlyteMX
My HTML emails are also not working. I send them and I get and empty email with just text.
I'm confused.
What does an "empty email with just text" look like?
To me, "empty" implies ... empty.
Additionally, what does the raw content of the email look like, with all the headers and sections, etc? (You'll have to have your email client show you the full source of the email)
Re: NO HTML email send (1.3.8)
ok.
I get an email with only text in it. It basically looks like a 5 year old sat down and started clicking the mouse and was hitting the enter button.
By source do you mean:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Flyte News Letter 120809</title>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="margin:0; background-color:#ffffff;">
<div align="center">
<div style="margin-top:.25in">
<table width="532" style="background-color:#999999;" align="center" cellpadding="0" cellspacing="0" class="wrapper">
<tr>
<td>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>
Is that what you are looking for?
Re: NO HTML email send (1.3.8)
I'm looking for something more like this:
Code:
Return-path: <email@your_domain.com>
Envelope-to: email@your_domain.com
Delivery-date: Sun, 25 Oct 2009 02:18:33 -0400
Received: from cpe000d9324ffc1-cm001a666aac6c.cpe.net.someone.com ([202.22.40.61])
by somewhere.com with esmtpa (Exim 4.69)
(envelope-from <email@your_domain.com>)
id 1N1wQy-0004Ef-O6
for email@your_domain.com; Sun, 25 Oct 2009 02:18:32 -0400
Date: Sun, 25 Oct 2009 02:18:39 -0400
To: My First Name My Last Name <email@your_domain.com>
From: StoreName <email@your_domain.com>
Reply-to: StoreName <email@your_domain.com>
Subject: Email Subject
Message-ID: <8f3943ed72a78a01f3d57c6a7d770c19@email@your_domain.com>
X-Priority: 3
X-Mailer: PHPMailer [version 1.73] via Zen Cart
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_8f3943ed72a78a01f3d57c6a7d770c19"
--b1_8f3943ed72a78a01f3d57c6a7d770c19
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
sample TEXT content
--b1_8f3943ed72a78a01f3d57c6a7d770c19
Content-Type: text/html; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<base href="http://your_domain.com/" />
<style type="text/css">
body {background-color:#ffffff; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center;}
a:link {color:#0066cc;}
a:hover {background-color:#eeeecc; color:#0066cc;}
a:visited {color:#0066cc;}
.holder {background-color:#f9f9f9; border:1px solid #9a9a9a; font-size:9px; text-align:left; width:550px;}
.header {font-size:10px; padding:0px; width:550px;}
.content {font-size:10px; padding:5px; width:550px;}
.footer {border-top:1px solid #9a9a9a; font-size:9px; margin-top:10px; text-align:center; width:550px;}
.disclaimer {background-color:#f9f9f9; border:1px solid #cccccc; font-size:10px; margin-top:10px; padding:5px; width:550px;}
.disclaimer1 {color:#666666; padding:5px;}
.disclaimer1 a:link {color:#666666;}
.disclaimer1 a:visited {color:#666666;}
.disclaimer2 {color:#666666; padding:5px;}
.unsubscribe {border-bottom:1px solid #9a9a9a; padding:5px;}
.copyright {border-bottom:0px solid #9a9a9a; padding:5px;}
</style>
</head>
<body>
<div class="holder">
<!-- Header Section -->
<div class="header">
<img src="email/header.jpg" alt="logo" />
</div>
<!-- Content Section -->
<div class="content">
<div>Dear My First Name My Last Name,</div>
<div>Sample HTML content</div>
</div>
<!-- Footer Section -->
<div class="footer">
<div class="unsubscribe">To unsubscribe from future newsletter and promotional mailings, simply click on the following link: <a href="http://yourdomain.com//index.php?main_page=unsubscribe&addr=email@your_domain.com">http://your_domain.com/index.php?main_page=unsubscribe&addr=email@your_domain.com</a></div>
<div class="copyright">Copyright (c) 2009 <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a></div>
</div>
</div>
<div class="disclaimer">
<div class="disclaimer1">This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to <a href="mailto:email@your_domain.com">email@your_domain.com </a></div>
<div class="disclaimer2">This e-mail is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.</div>
</div>
</body>
</html>
--b1_8f3943ed72a78a01f3d57c6a7d770c19--
Re: NO HTML email send (1.3.8)
All I can get out of it is the header:
HTML Code:
Return-Path: <[email protected]>
Delivery-Date: Thu, 10 Dec 2009 20:04:47 -0500
Received: from .....net (.....net [72.167.175.245])
by ....net (node=mxus0) with ESMTP (Nemesis)
id 0LhgEb-1NnIw20jvl-00nGcB for [email protected]; Thu, 10 Dec 2009 20:04:47 -0500
Received: (qmail 27643 invoked from network); 11 Dec 2009 01:04:46 -0000
Received: from unknown (HELO .....net) ([72.197.232.383])
(envelope-sender <[email protected]>)
by .......net (qmail-ldap-1.03) with SMTP
for <[email protected]>; 11 Dec 2009 01:04:46 -0000
Received: from ........net (localhost.localdomain [127.0.0.1])
by p.......net (8.13.8/8.12.11) with ESMTP id nBB14kxQ002765
for <[email protected]>; Thu, 10 Dec 2009 18:04:46 -0700
Received: (from ...@localhost)
by ......net (8.13.8/8.12.11/Submit) id nBB14jhe002749;
Thu, 10 Dec 2009 18:04:45 -0700
To: [email protected]
Subject: New 2010 Flyte Calendars
Date: Thu, 10 Dec 2009 18:04:45 -0700
From: Flyte Calendars <[email protected]>
Reply-to: Flyte Calendars <[email protected]>
Message-ID: <.....com>
X-Priority: 3
X-Mailer: PHPMailer [version 1.73] via Zen Cart
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="iso-8859-1"
Envelope-To: [email protected]
Hopefully that will work...
Re: NO HTML email send (1.3.8)
And does this happen only when sending newsletters? Or does this happen to *all* emails from your store?
Has it always done this on you? or did it just break recently?
Re: NO HTML email send (1.3.8)
This is the very first time ever tried using HTML in an email. I have not tried using HTML in a news letter yet. (through Zen Cart that is). Should I try using HTML in a news letter to see if that works??