Results 1 to 7 of 7
  1. #1
    Join Date
    May 2014
    Location
    United Kingdom
    Posts
    44
    Plugin Contributions
    0

    Default Code in Emails (using mailbeez)

    Hi, I've had some code showing up at the top of emails sent from my store for quite a while now, but I'm only just getting around to sorting it out 'once and for all' (up to now I've lived with it).

    I see that this is missing the ' < ' but I don't know where to look to fix it. Normally I can search for text inside my files via my host, but nothing shows up for this. Also, when I search for this string in gmail, nothing shows up there either which suggests it only 'shows' when the emails are shown and are NOT in the email itself (and would explain why my host search doesn't find it also) ? I have searched on Google and on here for that string, and also looked at email templates in my store, but I am not technical and nothing looks too untoward but I do not know what I'm doing or supposed to be looking for!


    This appears at the top of some of my store emails:

    a!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">




    The only thing I find that's similar is in /includes/templates/template_default/templates/tpl_zc_install_suggested_default.php

    Line #15 : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



    As you can see, I really have no clue! Any insight appreciated.

    PHP Version: 5.4.28

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Code in Emails

    Can you list any addons you are using.
    Do you use the mailbeez mod?

  3. #3
    Join Date
    May 2014
    Location
    United Kingdom
    Posts
    44
    Plugin Contributions
    0

    Default Re: Code in Emails

    Hi, thanks for your quick reply...yes I use the Mailbeez addons - sorry I thought I'd mentioned that when I said I'd looked at the templates, apologies.

  4. #4
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Code in Emails

    Quote Originally Posted by enlightened View Post
    Hi, thanks for your quick reply...yes I use the Mailbeez addons - sorry I thought I'd mentioned that when I said I'd looked at the templates, apologies.
    No worries at all.
    Ok try this;
    admin-tools-mailbeez-configuration-email engine
    Override Zencart Email Template System set to True.

    Let me know either way

  5. #5
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Code in Emails

    Quote Originally Posted by enlightened View Post
    ...and also looked at email templates in my store,
    It's not clear from your post, but were you referring to the email_template-XXXXXXX.html templates in the /email/ folder of your Zen Cart files?

    Perhaps the mailbeez code has altered the default Zen Cart templates or the Zen Cart functions that handle sending of the emails, and is mangling the output?
    .

    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.

  6. #6
    Join Date
    Jun 2014
    Location
    Florida
    Posts
    2
    Plugin Contributions
    0

    Default Re: Code in Emails

    I am also having this issue where i'm getting this at the top of my emails:

    p!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    I checked the settings as described above and my "Override Zencart Email Template System" is set to True, but I am still getting the code at the top of the email. Any Help will be greatly appreciated. I don't know where else to look!!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Code in Emails

    I suggest contacting mailbeez for support with their module.
    .

    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.

 

 

Similar Threads

  1. v150 Sending multiple emails using zen_mail
    By retched in forum Contribution-Writing Guidelines
    Replies: 3
    Last Post: 2 Jun 2012, 10:17 PM
  2. html Emails Using MailBeez
    By Bruce1952 in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 22 Aug 2010, 04:33 AM
  3. Adding conditional code to emails
    By Scott_C in forum General Questions
    Replies: 7
    Last Post: 17 May 2010, 09:15 AM
  4. Confirmation emails not using template?
    By rlparker in forum General Questions
    Replies: 2
    Last Post: 14 May 2008, 05:32 PM
  5. Using Thunderbird to Pick up Emails
    By Beer_man in forum General Questions
    Replies: 0
    Last Post: 26 Feb 2008, 02: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