Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jan 2010
    Posts
    11
    Plugin Contributions
    0

    Default Emails not arriving in HTML format

    I have this problem: Send out emails in html but arrive unformatted.

    zen-cart version 1.3.8a
    email-option setting:
    E-mail Transport Method: PHP
    Use MIME HTML sending E-mails: True
    Send E-mail: True

    I make sure the customer, in this case myself, receives emails in html format (both for newsletters and product_update).

    I send one to myself from Tools-->Send Email.
    I previewed the email and it shows all html elements fine.

    However, when it arrives to my inbox, it is unformatted
    And that account does receive emails in html from others.

    Couldn't figure out why, any help??

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Emails not arriving in HTML format

    It's very possible that your server is stripping the HTML out because the email is being generated from software running on the server which doesn't require authentication (ie: you're using the PHP transport method).

    Try changing your Email Transport Method to SMTPAUTH, and fill in all the SMTP settings lower on the same page.
    .

    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
    Jan 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Emails not arriving in HTML format

    Thank you DrByte

    As you suggested I change the E-mail transportation Method to smtpauth. At first, it doesn't work either. However, when I switch to English (the define language of the admin back-end is Chinese) as the default language, the problem goes away, i.e. I can send out emails in html format.

    In fact, in the Chinese back-end setting, I don't even see the html-editor showing up.

    So I guess it must be the php files for tchinese not working right. Any help on how can I correct this problem?

    I can send my emails in English but most of my customers are Chinese readers and so I would like to communicate with them in Chinese.

    Thanks in advance

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Emails not arriving in HTML format

    The last 2 sections of this page should help you: http://www.zen-cart.com/wiki/index.p...lish_Languages
    .

    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
    Jan 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Emails not arriving in HTML format

    Thanks Dr Byte.

    I followed the link you posted and found out that I should add the

    /email/ch/

    and the files from /email to that directory.
    permission is setting to 755 for the directory and 644 for the files inside. It solves my problem!

    One point that I would like to clarify is that according to the zen-cart wiki

    http://www.zen-cart.com/wiki/index.p...on_-_Languages

    one should use the two-letter language code according to the ISO 639-1 standard. It gives a link to wikipedia and according to that "zh" is the code for Chinese. However, if one is using the traditional chinese (tchinese) then it should be "ch" instead of "zh".

    I tried naming the directory as /email/zh, it does not work.
    I hope this is will be helpful to those who have the same problem.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Emails not arriving in HTML format

    It actually uses the 2-letter code that you defined in the admin for that particular language.
    .

    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
    Jun 2009
    Location
    malaysia
    Posts
    41
    Plugin Contributions
    0

    Default Re: Emails not arriving in HTML format

    I also facing the Chinese welcome email problem. I tried to follow the steps from here. My admin language code is set to gb. So I rename the folder name to /email/gb. Then I duplicate email_template_checkout.html into this folder.

    But it's still doesnt work at my side.

    Any idea why?

  8. #8
    Join Date
    Jun 2009
    Location
    malaysia
    Posts
    41
    Plugin Contributions
    0

    Default Re: Emails not arriving in HTML format

    The most funny thing is, when I placed an order. I received the Chinese order confirmation email in HTML format. It's just not working in welcome email.

  9. #9
    Join Date
    May 2010
    Posts
    57
    Plugin Contributions
    0

    Default Re: Emails not arriving in HTML format

    Hi,
    I can not send HTML emails. I have tried many ways to fix this but I really need advice. Here is all of my information:

    Zen Cart version: 1.3.9f
    Operating on: Windows
    SSL: yes
    Host: Dedicated server on hostgator

    Admin/Confifuration/Email Options:
    Email Transport Method: SMPTAUTH (if I use any other method the emails will not send at all (even text)
    Use MIME HTML When Sending Emails: True
    Send E-Mails: True
    Email Address (sent FROM): [email protected]
    Emails must send from known domain?: Yes
    Email Admin Format?: HTML
    SMTP Email Account Mailbox: [email protected]
    SMTP Email Account Password: (entered correctly)
    SMTP Email Mail Host: I currently entered the dedicated IP address, but I have also entered the mail server name. Neither seem to make a difference. Hostgator also lists a SSL server name, but I don't know how to enter it into zen cart because it uses a * in the name. I don't know if the * is a symbol for a password, or something else I should know.
    SMTP Email Mail Server Port: I entered the outgoing mail server port. There is a SSL port as well, but when I enter it emails will not send at all (even text).

    Using the above inputs I am able to send emails as text, but no HTML. I have been able to send emails in HTML in the past, but within the last 6 months I have moved my site to another host company, and have also upgraded the zencart version.

    Thank you so much,
    Lindsay
    www.SETboutique.com

  10. #10
    Join Date
    May 2010
    Posts
    57
    Plugin Contributions
    0

    Default Re: Emails not arriving in HTML format

    Dr.Byte,
    Can you help me? I know you are the best...

    Lindsay

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Emails not arriving
    By Billd in forum General Questions
    Replies: 1
    Last Post: 14 Aug 2009, 08:16 PM
  2. Contact Us emails not arriving?
    By kaitshel in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Mar 2009, 07:02 PM
  3. emails not arriving
    By shah_hafiya in forum General Questions
    Replies: 4
    Last Post: 28 Feb 2009, 09:45 AM
  4. Emails Not Arriving
    By DanAKAL in forum General Questions
    Replies: 1
    Last Post: 6 Jan 2007, 10:50 AM

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