Zen Cart Logo
Forums / General Questions / For me HTML doesen't work for all emails (problem with bulgarian lang pack)

For me HTML doesen't work for all emails (problem with bulgarian lang pack)

Views: 4,488

Results 1 to 20 of 34
29 May 2011, 2:26 PM
#1
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

For me HTML doesen't work for all emails (problem with bulgarian lang pack)

I have a similar probem!

For me HTML doesen't work for all emails!!!

Email Admin Format is HTML

Please help!

I'm running 1.3.9h

30 May 2011, 3:59 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

Emails will not arrive in HTML format unless the recipient has a customer account in your store AND has set their email-receiving preferences to HTML.

30 May 2011, 3:08 PM
#3
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

Recipient has an account, or in the creation of account e-mail "Greeting e-mail" he has already selected preferences to HTML!

Still no HTML ?!

30 May 2011, 3:33 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

What are all your settings under Admin->Configuration->Email Options?

30 May 2011, 4:15 PM
#5
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

These are the settings... tel me if you need more...

E-Mail Transport Method PHP
E-Mail Linefeeds LF
Use MIME HTML When Sending Emails true
Send E-Mails true
Email Archiving Active? false
E-Mail Friendly-Errors false
Email Address (Displayed to Contact you) shop@.bg
Email Address (sent FROM) shop@
.bg
Emails must send from known domain? No
Email Admin Format? HTML

30 May 2011, 4:29 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

Two things:

  1. Sometimes email servers refuse the HTML section of messages when sending using the "PHP" transport, because the sender hasn't authenticated. Changing to SMTPAUTH and setting your SMTP settings at the bottom of the list of settings on that same screen causes it to send authenticated messages, which are much less likely to be rejected.

  2. I see you've started several other posts on the topic of trying to force HTML into the email message text. However, in order to protect the non-HTML messages from displaying HTML markup code for people who have text-only email clients, that HTML is often stripped out in favor of using the HTML email templates for that content instead.
    Since your posts above seem to be oriented around the Welcome email, it's unclear to me whether you're simply looking for some HTML tags to follow from your language file into your welcome email, or if your problem is really about emails not arriving with the HTML section included in them alongside the text-only section which all messages will contain.

http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems

31 May 2011, 8:19 AM
#7
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

I'm sorry for the multipe posts, but I'm getting really frostrated!

  1. Unfortunately SMTP and SMTPAUTH don't worl for me for some reason! Actually none of the othret e-mail transport methods doesn't work! I can only send e-mails via PHP

  2. I''m reaizing that I have a problem with all e-mails! Not only the Welcome one!

31 May 2011, 1:49 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

Sounds like a problem you need to sort out with your hosting company.

31 May 2011, 2:19 PM
#9
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

I spoke to my hosting company!

They said that the only way I will be able to send e-mails is trough PHP...

They said that the HTML issue could be fixed by adding some "Code to the header" or something ike that... that lets e-mail servers know that it's html!

Any ideas?

31 May 2011, 2:35 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

As I said already, when you've told Zen Cart to send in HTML format, it automatically adds the HTML section to the emails.
If the HTML section isn't arriving, then it's because the email server (hosting company) stripped it off.

1 Jun 2011, 9:28 AM
#11
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

My hosting company sais that it's not a problem with them!

Is there anithyng else that I can tweak to make it work or is it 100% hosting problem and I should yell at them?!

1 Jun 2011, 11:36 AM
#12
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

I just realized that when i view the Welcom e-mail by selecting admin>tools>welcome e-mail

On the top of the page a red warning bar apperas wit the text "header" !!!

Maybe a problem in the above mentioned html header in the e-mail???

1 Jun 2011, 11:29 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

I can't see the emails you're complaining about.

Maybe you can post an actual full email including all the raw HTML markup and all the email headers, so I can look at them?

2 Jun 2011, 12:28 PM
#14
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

This is the message with the html tags(sorry it's in Bulgarian)

Добре дошли в нашия Интернет магазин: <a href="http://www.gadgetshop.bg"><span style="font-weight: bold;">GadgetShop.bg</span></a><br><br> В знак на благодарност за Вашата регистрация Ви предлагаме "<span style="font-weight: bold;">Купон за отстъпка</span>" създаден специално за Вас!<br> <br> 20% Отстъпка от първата Ви покупка в<br> GadgetShop.bg<br> <br> Купона е валиден от 13.05.2011 до 13.05.2012<br> <br> За да използвате купона, въведете Код за осребряване <span style="color: rgb(255, 22, 22);">gadgetshop</span> по време на процеса на плащане!<br> <br> --------------------<br> <br> С Вашият профил можете да се възползвате от всички екстри които предлага нашия интернет магазин. <br><br>Някои от тях са:<br><ul><li>Вечна кошница - Всички продукти добавени във Вашата кошница остават там докато не ги отстраните или не ги платите. <br></li><li>Адресна книга - Въведете повече от един адрес за доставка и използвайте различните адреси според случая! <br></li><li>История на поръчките - Разглеждате историята на поръчките си при нас.</li><li>Ревюта на продукти - Споделете Вашето мнение за продукти с други клиенти.</li></ul><br>Ако се нуждаете от помощ във връзка с предлаганите от нас услуги, моля пишете ни на e-mail: <a href="mailto:[email protected]">[email protected]</a><br> <br> <br>С уважение,<br> <br> Димитър Кунев<br> Управител<br> <br> <a href="http://www.gadgetshop.bg/" target="_blank">http://www.gadgetshop.bg/</a><br> <br> <br> <br> Този e-mail адрес ни бе предоставен от Вас или от някой от нашите клиенти. Ако не сте се регистрирали в нашия Интернет магазин или мислите, че сте получили това писмо по погрешка, моля пишете ни на e-mail:<a href="mailto:[email protected]"> [email protected]</a><br> <br> <br> <font style="color: rgb(219, 219, 219);" size="1">Този e-mail е изпратен в съответствие с международно приетите правила. Искания за заличаване  могат да се изпращат на този адрес. Всички искания ще бъдат уважени.</font>

Where can i find the HTML headers?

And one other thing when using the same mail account trough Outlook i can send eddited text( Colored letters, different sizes, images and so on...) Does that exclude that the problem could be with my hosting company?

THANKS FOR THE HELP DrByte

2 Jun 2011, 9:19 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

To view the complete email source in Outlook, I think the menus you need to choose are: File -> Properties -> Details -> Message Source
Copy and paste the entire Message Source here.

Related discussion: http://www.zen-cart.com/forum/showthread.php?t=68080

2 Jun 2011, 9:31 PM
#16
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

This is a message sent to myself via Outlook

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=BG link=blue vlink=purple> <div class=Section1> <p class=MsoNormal><span lang=EN-US>hello<o:p></o:p></span></p> </div> </body> </html>

!!! "View source" option isn't available for all my messages sent from the store

2 Jun 2011, 11:48 PM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

I need to see the various content-type headers from the emails sent from your store.
Emails from anyplace else aren't useful except marginally for comparison, and even then not relevant to the problem you're alleging.

3 Jun 2011, 6:58 AM
#18
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

Outlook doesen't let me view the source for those e-mails!!!

Maybe because they are plain text?!

What part of zen-cart controls the headers of e-mails... if you tell me the file i'll copy the content here!

THANKS!

3 Jun 2011, 7:30 AM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

This isn't a matter of copying content out of Zen Cart.

I'm pretty certain that Zen Cart is preparing the emails just fine, and it's the email servers between your webserver and your email account that are mangling things.

Did you turn on email archiving and use the archive viewer to see what's in there, like the wiki article instructs?

3 Jun 2011, 10:17 AM
#20
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: For me HTML doesen't work for all emails (problem with bulgarian lang pack)

Yep i did the e-mail archive thing but forgot to look at it...

When i "click preview msg" button on the sent e-mail it appears like this:

Email #1
To: Димитър Кунев [[email protected]]
From: GadgetShop.bg [[email protected]]
Sent: 06/03/2011 12:43:37
Subject: sdada
Добре дошли в нашия Интернет магазин: GadgetShop.bg

В знак на благодарност за Вашата регистрация Ви предлагаме "Купон за отстъпка" създаден специално за Вас!

20% Отстъпка от първата Ви покупка в

GadgetShop.bg

Купона е валиден от 13.05.2011 до 13.05.2012

За да използвате купона, въведете Код за осребряване gadgetshop по време на процеса на плащане!


С Вашият профил можете да се възползвате от всички екстри които предлага нашия интернет магазин.

Някои от тях са:

Вечна кошница - Всички продукти добавени във Вашата кошница остават там докато не ги отстраните или не ги платите.

Адресна книга - Въведете повече от един адрес за доставка и използвайте различните адреси според случая!

История на поръчките - Разглеждате историята на поръчките си при нас.Ревюта на продукти - Споделете Вашето мнение за продукти с други клиенти.

Ако се нуждаете от помощ във връзка с предлаганите от нас услуги, моля пишете ни на e-mail: [email protected]

С уважение,

Димитър Кунев

Управител

http://www.gadgetshop.bg/

Този e-mail адрес ни бе предоставен от Вас или от някой от нашите клиенти. Ако не сте се регистрирали в нашия Интернет магазин или мислите, че сте получили това писмо по погрешка, моля пишете ни на e-mail: [email protected]

Този e-mail е изпратен в съответствие с международно приетите правила. Искания за заличаване могат да се изпращат на този адрес. Всички искания ще бъдат уважени.
Този e-mail адрес ни беше предоставен от Вас или от някой от нашите потребители. Ако смятате, че получавате този e-mail погрешка, моля уведомете ни на: [email protected]
Този e-mail е изпратен в пълно съгласие с българските закони срещу спам-а. Изисквания за изтриване от списъка ще бъдат изпълнявани незабавно.

In the "e-mail archive manager window"

the tabe that shows the e-mails shows this:

Date Sent Customer's Name Email Address Subject Format
06/03/2011 13:02:03 Димитър Кунев [email protected] jjj... TEXT

When I send a message to a web based e-mail(on an e-mail website) thats what happens:

The message I want to send is:

<b>THIE IS A BOLD TEXT</b>

<font size=25>This is big text</font>

The view source looks like this:

<html><head><meta http-equiv="Content-type" content="text/html;charset=utf-8"/><script>function internSendMess(x) {window.parent.internSendMess(x)}</script></head><body><div>THIE IS A BOLD TEXT<br/> <br/> This is big text<br/> *Този e-mail адрес ни беше предоставен от Вас<br/> или от някой от нашите потребители. Ако<br/> смятате, че получавате този e-mail погрешка,<br/> моля уведомете ни на: <a href="javascript: internSendMess('[email protected]')">[email protected]</a><br/> Този e-mail е изпратен в пълно съгласие с<br/>

българските закони срещу спам-а.<br/>
Изисквания за изтриване от списъка ще<br/>
бъдат изпълнявани незабавно.<br/>
<br/>*

</div></body></html>

Note: The italic part of the text is some e-mail text that is added to all my e-mails(a zen cart thing that i have to configure!

I'm totally confused... from the </br> tags it would seem that the message is HTML or am i wrong? If it's html why is it so messed up?

HELP!