I have sent a mail using simplenews with some images and CSS embeded. There is no problem with the images, but the mail is not using css; it is doing correctly in thunderbird, but gmail and hotmail show the mail without css; can anything be done?

thanks.

PD: the mail sample is attached

CommentFileSizeAuthor
mail_1.txt146.88 KBenboig

Comments

jerdavis’s picture

Status: Active » Postponed (maintainer needs more info)

Are you still seeing this issue with the current version?

crischan’s picture

The same goes for KMail - just shows the text-only representation...
Going after it, i found that mimemail base64-encodes not only images, but also the HTML itself - this triggers at least KMail to completely ignore the encoded HTML part. (see function mimemail_extract_files($html) in mimemail.inc)
Is the HTML encoded by intent?

kenorb’s picture

The some problem in GMail and Microsoft Outlook 2007, CSS is not parsed properly.

redben’s picture

This is normal, when writing html emails, one should avoid css and (unfortunatly) write old style html (font table etc) to ensure the content is shown properly. The issue is a general one not mime mail specific. Webmail ignore css (and omit it) to ensure there pages show up consitantly. Mail clients on the other hand just don't care...
Resource worth mentioning :
http://www.alistapart.com/articles/cssemail/
http://www.sitepoint.com/article/code-html-email-newsletters

enboig’s picture

Is there any "parser" which translates a html+css to html? I think it would bé the simpliest way to do this, but I haven't been able to find one.

Mike Sances’s picture

subscribing

allie micka’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

I'm marking this as a duplicate of http://drupal.org/node/121849 . Please follow along there for themeing tips.

aryam8’s picture

Subscribing
I also have the same problem with Gmail and hotmail, my text version is sent only.
I had dome another test from the mailchip website and those mails go in w/o any particular problem - images are seen, and the css are taken into consideration.
I've followed the same templating options used in mailchip with no avail, my e-mail still shows the text only version.
I've figured is because of the encoding of the html in base64 as the message sent through mailchip was encoded in base8

nedwardss’s picture

This might be helpful. I'm trying it out a bit.
http://www.mailchimp.com/labs/inlinecss.php