Post by toolsandtimber » Sat Mar 10, 2012 12:02 am

Hi guys, we are just finishing up the setup of our website and we are testing the confirmation emails, unfortunately gmail doesn't seem to be rendering the html properly so it is in plain text only. However Outlook is working fine...

We are using the inbuilt php mail function to send these out and we are on opencart 1.5.1.3.

Any suggestions?

Thanks,
Last edited by toolsandtimber on Mon Mar 12, 2012 6:45 pm, edited 1 time in total.

New member

Posts

Joined
Wed Nov 23, 2011 5:47 pm

Post by toolsandtimber » Mon Mar 12, 2012 6:45 pm

Anyone any ideas??

New member

Posts

Joined
Wed Nov 23, 2011 5:47 pm

Post by toolsandtimber » Mon Mar 19, 2012 9:26 pm

Can anyone help please!?

New member

Posts

Joined
Wed Nov 23, 2011 5:47 pm

Post by Out2lunch » Mon Mar 19, 2012 9:45 pm

]Post a screenshot of whats the problem, as GMAIL works fine for me.

New member

Posts

Joined
Wed Jun 29, 2011 9:32 pm

Post by uksitebuilder » Wed Mar 21, 2012 4:19 am

The problem is due to the CSS styling in the email template being in the head section of the template

I believe this has been fixed in version 1.5.2

To fix, you will need to convert the css to inline styling instead in catalog/view/theme/default/template/mail/order.tpl

Or upgrade to 1.5.2.1 which I believe is quite painless and fixes quite a few bugs

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by toolsandtimber » Fri Mar 23, 2012 8:20 pm

Hi Simon, thankyou!

Unfortunately we already have so many customisations, it's not really a choice to upgrade now, it'd set us back quite a lot from all the work we've done!

Yes it is indeed that the formatting needs to be inline. Luckily I found an excellent converter online for future reference to you or anyone else this worked perfectly-:

http://beaker.mailchimp.com/inline-css

apart from the top image logo tag, I needed to use the old line from the email to get this to work <a href="<?php echo $store_url; ?>" title="<?php echo $store_name; ?>"><img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" id="logo" /></a>

New member

Posts

Joined
Wed Nov 23, 2011 5:47 pm

Post by WSurfer » Mon Mar 26, 2012 6:39 am

Hi @toolsandtimber for your help. It works like a charm.

Only Outlook is now displaying Times New Roman font in body of the order details.

Any ideas how to change font to be the same as used in head?

http://playroom.si


New member

Posts

Joined
Thu Mar 11, 2010 5:17 am
Who is online

Users browsing this forum: Bing [Bot] and 79 guests