Forums / General Questions / Emails not arriving in HTML format

Emails not arriving in HTML format

Results 1 to 12 of 12
04 Apr 2010, 18:10
#1
popoee avatar

popoee

New Zenner

Join Date:
Jan 2010
Posts:
11
Plugin Contributions:
0

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 :no:
And that account does receive emails in html from others.

Couldn't figure out why, any help??
04 Apr 2010, 18:14
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

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.
04 Apr 2010, 23:47
#3
popoee avatar

popoee

New Zenner

Join Date:
Jan 2010
Posts:
11
Plugin Contributions:
0

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
05 Apr 2010, 02:11
#5
popoee avatar

popoee

New Zenner

Join Date:
Jan 2010
Posts:
11
Plugin Contributions:
0

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.php/Admin_-_Localization_-_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.
05 Apr 2010, 03:59
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Emails not arriving in HTML format

It actually uses the 2-letter code that you defined in the admin for that particular language.
30 Dec 2010, 18:19
#7
jojo_cool avatar

jojo_cool

New Zenner

Join Date:
Jun 2009
Posts:
41
Plugin Contributions:
0

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?
30 Dec 2010, 18:35
#8
jojo_cool avatar

jojo_cool

New Zenner

Join Date:
Jun 2009
Posts:
41
Plugin Contributions:
0

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.
31 Dec 2010, 22:03
#9
lsullivan avatar

lsullivan

New Zenner

Join Date:
May 2010
Posts:
57
Plugin Contributions:
0

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
05 Jan 2011, 04:29
#10
lsullivan avatar

lsullivan

New Zenner

Join Date:
May 2010
Posts:
57
Plugin Contributions:
0

Re: Emails not arriving in HTML format

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

Lindsay
23 Jan 2011, 03:07
#11
lsullivan avatar

lsullivan

New Zenner

Join Date:
May 2010
Posts:
57
Plugin Contributions:
0

Re: Emails not arriving in HTML format

Hi,
I really need help to solve this issue. I haven't sent newsletters or personalized emails to customers in months. I wanted to create a new post for this issue but I don't know how, so i tagged onto this forum.

Please, please, please respond to my issue.

Thank you,
Lindsay
03 Feb 2011, 08:40
#12
itsjef avatar

itsjef

New Zenner

Join Date:
Jun 2010
Posts:
2
Plugin Contributions:
0

Re: Emails not arriving in HTML format

this does not solve the problem for me. Is there anyone else out there with an solution?
The problem is in ZC and not in the transport, someone may have a solution for this.
There are many people struggling with this, so please if you know something about this reply!