Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Nov 2009
    Posts
    32
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: NO HTML email send (1.3.8)

    Quote Originally Posted by FlyteMX View Post
    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)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2009
    Posts
    32
    Plugin Contributions
    0

    Default 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?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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--
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Nov 2009
    Posts
    32
    Plugin Contributions
    0

    Default 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...

  6. #6
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Nov 2009
    Posts
    32
    Plugin Contributions
    0

    Default 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??

  8. #8
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: HTML emails blank

    Let's back up a bit. I only asked about "newsletters" because your email example has "Subject: New 2010 Flyte Calendars" ... and that's not a subject that Zen Cart would auto-generate, so it must have been added by yourself, presumably when attempting to send a newsletter via the admin. None of the rest of Zen Cart builds subject lines like that.

    So ... I'll ask again. Do *all* your store's emails arrive blank? ie: things like Create Account emails, Order Confirmation emails, Order Status Update emails, Contact Us emails, Tell A Friend emails ... and the list goes on.

    I'm trying to isolate the problem so that the problem can be remotely solvable.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Nov 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: HTML emails blank

    ok... I put that subject in the email that I sent to myself. All other emails that are sent out of zencart are all default zencart emails. So far the only thing I have tried to do is send out an email to myself to see if it works. I have received this same exact email from another account, so I know my email accept HTML and its not a coding issue. I created the subject just as a test along with the entire HTML email that entered into the text box, and when I previewed it, everything looked fine. So i sent it to myself and now I have this problem.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: HTML emails blank

    So, you're saying this is *only* happening when using the Admin->Tools->Send Email option to send to individual email users?

    Are you actually receiving other emails, such as Create Account and Order Confirmations in HTML format? (user must select to receive HTML-formatted emails in their My Account settings). Do those HTML emails appear correctly?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How i can modify "Send Copy of Order Confirmation Emails "?
    By dmagic in forum Basic Configuration
    Replies: 4
    Last Post: 18 Sep 2014, 12:11 PM
  2. v139h Duplicate emails in "Send Email" need advise
    By chrontronic in forum General Questions
    Replies: 3
    Last Post: 26 Mar 2012, 11:02 PM
  3. Replies: 0
    Last Post: 6 May 2008, 04:54 AM
  4. // generate footer details for "also-send-to" emails
    By OFelixCulpa in forum General Questions
    Replies: 7
    Last Post: 10 Oct 2007, 09:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR