HTML emails are text-only in Hotmail

jgarabot - February 11, 2009 - 13:43
Project:Mime Mail
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I tried with every other mail: yahoo, gmail, etc. and all of them reacive fine the html, mail but hotmail only plain text, in 6.x.
I have 5.x setup in other site an works fine. I am using simplenews with mime mail.

#1

jerdavis - February 11, 2009 - 16:49
Status:active» postponed (maintainer needs more info)

Give the latest development snapshot a try, there have been a few changes and hotmail seems to be working fine for me in my testing. Let me know if you run into any issues!

Jer

#2

rodgolpe - February 11, 2009 - 17:42
Title:Only Hotmail don't reacive html mail» HTML emails are text-only in Hotmail

I installed the latest snapshot (2-8-2009) and experience the same issue. Yahoo, Gmail, and various other private domain accounts in Outlook and Lotus Notes receive HTML. Hotmail is text-only. Other HTML emails in my Hotmail account display properly.

#3

Docc - February 12, 2009 - 09:29

subscribe, same problem here with the latest dev version

#4

jgarabot - February 12, 2009 - 12:49

I am using the latest dev. version, the problem is something else

#5

jerdavis - February 12, 2009 - 16:27

Please post the raw message source from another mail app as sent from your system.

Jer

#6

jerdavis - February 12, 2009 - 16:34

Also - please post what modules you're using to generate the message.

In my testing using Send and Mimemail, HTML mail is coming through fine in Hotmail.

Jer

#7

Docc - February 12, 2009 - 16:40

Im using latest stable simplenews with Mimemail.

#8

jerdavis - February 12, 2009 - 16:52

Please send a message through your system to mimemail at advantagelabs.com

#9

Docc - February 12, 2009 - 17:09

Done, from another system with the same result though.
1. CSS does not get stripped from text/plain part and 2. Hotmail shows the text/plain part instead of the HTML

#10

rodgolpe - February 12, 2009 - 18:26

Thanks, Jer. I sent a test using Simplenews as well. (from covenanthousemi.org)

#11

jgarabot - February 12, 2009 - 21:42

I sent the test from garmei.com, using simplenews

#12

lusdeso - February 19, 2009 - 18:37

I have the same problem.

Anyone knows a solution?

Thanks.

#13

jerdavis - February 20, 2009 - 19:04

I'll be investigating this further ASAP. Thank you for your test messages.

Jer

#14

jerdavis - February 22, 2009 - 00:28

Looking at the raw source of the messages sent, I'm not seeing a clear reason why they would not show up correctly in Hotmail. I've done extensive testing on this end and so far all of my messages are showing up as HTML in hotmail. This testing was done with Mimemail HEAD and the latest development snapshot of simplenews.

There will be a new development snapshot of Mimemail within the next day, please try testing that and let me know if you still have issues.

Jer

#15

rodgolpe - February 23, 2009 - 19:56

Installed and tested Feb. 22 snapshot -- same result.

#16

lelizondob - February 24, 2009 - 09:35

this was the first page that came up searching the words hotmail mimmemail, altought this issue is for 6.x, those who are using 5.x go to http://drupal.org/node/78876#comment-1284988.

#17

bejam - February 25, 2009 - 15:47

subscribing

#18

jgarabot - February 27, 2009 - 15:29

Updated and still same problem

#19

jerdavis - March 3, 2009 - 03:56

What version of simplenews are you using?

#20

rodgolpe - March 5, 2009 - 00:22

From Simplenews.info: version = "6.x-1.0-rc5"

#21

attiks - March 5, 2009 - 12:05

Same problem with outlook 2007, same message works in other clients

Using latest (6.x) version of mimemail, simplenews and simplenews_template
Maybe related #391874: FYI: Some remarks about the html

Date: Thu, 05 Mar 2009 12:38:42 +0100
Subject: =?UTF-8?B?W0JyZWFkZ2FyZGVuIG5pZXV3c2JyaWVmXSB0ZXN0amUgNAo=?=
To: mailtest@example.com
Return-Path: <info@example.com>
Errors-To: info@example.com
From: "Tester" <info@example.com>
Content-Type: multipart/related;
    charset=utf-8;
    boundary="fec870664656b81fcee7bbe7ae47a8a9"
MIME-Version: 1.0
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
Sender: info@example.com
Reply-To: "Tester" <info@example.com>
Priority: normal
X-Priority: 3
X-MSMail-Priority: Normal
Precedence: bulk
List-Unsubscribe: <http://example.com/newsletter/confirm/remove/9cc7c6fb130t1>
Message-ID: <WWW1ZKsh0eCEZYrW0ox0000002f@example.com>
X-OriginalArrivalTime: 05 Mar 2009 11:38:42.0893 (UTC) FILETIME=[EFAB4FD0:01C99D86]
X-ME-Bayesian: 0.000169

This is a multi-part message in MIME format.

--fec870664656b81fcee7bbe7ae47a8a9
Content-Type: multipart/alternative;
    boundary="585b65c2b709a187cd01d08de8a652cf"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit


--585b65c2b709a187cd01d08de8a652cf
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

nieuwsbrief: testje 4

======== TESTJE 4 ============================================================

Text

Unsubscribe from this newsletter 
http://example.com/newsletter/confirm/remove/9cc7c6fb130t1

- - - This is a test version of the newsletter. - - -

--585b65c2b709a187cd01d08de8a652cf
Content-Type: text/html; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="margin: 0;
  padding: 10px;">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body id="mimemail-body" style="margin: 0;
  padding: 10px;"><div id="center"><div id="main">


<title>nieuwsbrief: testje 4</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">

<!--

-->

</style>
<table class="simplenews-template-background" width="100%" bgcolor="#B1BD1E" cellpadding="0" cellspacing="0"><tr><td valign="top" align="center">
<table class="simplenews-template-content" width="599px" cellpadding="0" cellspacing="0"><tr><td align="left">
<div class="simplenews-template-header">
<p style="margin-top: 0px;
    font-size: 11px;"><img src="cid:3a1df23f39780386788889ea1e856352@example.com" alt="Tester"></p>
</div>
<div class="simplenews-template-body">
<h1 style="font-size: 14px;
    color: #48311E;">testje 4</h1>
</div>
<div class="simplenews-template-footer">
<p>test</p>
</div>

</td></tr></table>
</td></tr></table>
</div></div></body>
</html><html style="margin: 0;
  padding: 10px;"><body style="margin: 0;
  padding: 10px;"><p class="newsletter-footer" style="margin-top: 0px;
    font-size: 11px;"><a href="http://example.com/newsletter/confirm/remove/9cc7c6fb130t1" style="font-size: 14px;
    color: #48311E;">Unsubscribe 
from this newsletter</a>

- - - This is a test version of the newsletter. - - -
</p></body></html>

--585b65c2b709a187cd01d08de8a652cf--

--fec870664656b81fcee7bbe7ae47a8a9
Content-ID: <3a1df23f39780386788889ea1e856352@example.com>
Content-Type: ; name="logo.png"
Content-Disposition: related; filename="logo.png"
Content-Transfer-Encoding: base64

.... (deleted)

#22

attiks - March 5, 2009 - 12:28

Some more info, no idea if it helps

If I forward the message as an attachment (eml format) from a working mail client to my outlook 2007 account i see the html part in outlook by default ...

#23

attiks - March 5, 2009 - 12:29

Some more info, the attachment file I receive in outlook doesn't contain the header and footer sections i get in the other mail clients

#24

attiks - March 5, 2009 - 12:43

I checked the same message using outlook web access and it's the same problem, text only version.

#25

attiks - March 5, 2009 - 14:47

Solved (I guess), I changed Content-Type: multipart/related; to Content-Type: multipart/mixed; and submitted the message (as eml)using the pickup folder and I see the html, so the only question left is how to solve it before/while sending.

Thanks to post found at http://social.technet.microsoft.com/Forums/en-US/exchangesvrclients/thre...

Update: just tested submitting the original eml file (without changing the content-type) to the pickup and it's also working.

#26

attiks - March 5, 2009 - 16:33

Outlook is working fine when using pop3 for retrieval, but when using exchange you'll get into trouble. If anybody knows a solution let us know

#27

benjamin_dk - March 16, 2009 - 12:43

Subscribing - experiencing the same problem (only text showing in Hotmail) - using Simplenews 6.x-1.0-rc6 and Mime Mail 6.x-1.x-dev.

#28

mrthumpz - March 20, 2009 - 16:50

subscribing

#29

osusoy - March 27, 2009 - 13:57

Same prob, simple solution. But probably will create other problems - if anyone out there is still using text only mail clients.

Removing the text alternative from the body makes it work fine in hotmail.

Tried swapping the alternative order first but that just messed things up in thunderbird :/

Look forward to a better solution from you guys or will let you know if i can figure something out.

#30

dboulet - March 27, 2009 - 20:53

Same problem here using latest 6.x-1.x-dev and Simplenews. If I redirect the email to my Hotmail account using Mail in Mac OSX, everything looks fine, but messages sent directly to Hotmail through Simplenews are presented as text-only.

#31

lelizondob - March 27, 2009 - 21:26

I'm not a dev, but can someone use http://drupal.org/node/225731 to solve this? It's for drupal 5.x and it works.

#32

dboulet - March 27, 2009 - 22:50

Using the file found at http://www.drupalbin.com/4546 worked for me.

#33

benjamin_dk - March 28, 2009 - 11:01

That worked it seems! Thanks a lot!!

#34

lelizondob - March 29, 2009 - 01:03
Status:postponed (maintainer needs more info)» needs review

#32 worked for me too. I'm changing the status so the maintainer notice this, but I think someone else should try the code.

#35

Hilal - March 30, 2009 - 00:39

I reported this issue awhile back. My emails are not only text in Hotmail but it has the full theme included too. See below:

document.body.offsetHeight ?
document.body.scrollHeight:document.body.offsetHeight +
'px');}#TB_window{position:fixed;background:#ffffff;z-index:102;color:#000000;display:none;border:4px
solid #525252;text-align:left;top:50%;left:50%;}* html
#TB_window{position:absolute;margin-top:expression(0 -
parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement
&& document.documentElement.scrollTop || document.body.scrollTop) +
'px');}#TB_window img#TB_Image{display:block;margin:15px 0 0
15px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;border-top:1px
solid #666;border-left:1px solid #666;}#TB_caption{height:25px;padding:7px
30px 10px 25px;float:left;}#TB_closeWindow{height:25px;padding:11px 25px 10px
0;float:right;}#TB_closeAjaxWindow{padding:7px 10px 5px
0;margin-bottom:1px;text-align:right;float:right;}#TB_ajaxWindowTitle{float:left;padding:7px
0 5px
10px;margin-bottom:1px;}#TB_title{background-color:#e8e8e8;height:27px;}#TB_ajaxContent{clear:both;padding:2px
15px 15px
15px;overflow:auto;text-align:left;line-height:1.4em;}#TB_ajaxContent.TB_modal{padding:15px;}#TB_ajaxContent
p{padding:5px 0px 5px
0px;}#TB_load{position:fixed;background:url(/modules/thickbox/loading_animation.gif);display:none;height:13px;width:208px;z-index:103;top:50%;left:50%;margin:-6px
0 0 -104px;}* html #TB_load{ position:absolute;margin-top:expression(0 -
parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement
&& document.documentElement.scrollTop || document.body.scrollTop) +
'px');}#TB_HideSelect{z-index:99;position:fixed;top:0;left:0;background-color:#fff;border:none;filter:alpha(opacity=0);-moz-opacity:0;opacity:0;height:100%;width:100%;}*
html #TB_HideSelect{
position:absolute;height:expression(document.body.scrollHeight >
document.body.offsetHeight ?
document.body.scrollHeight:document.body.offsetHeight +
'px');}#TB_iframeContent{clear:both;border:none;margin-bottom:-1px;margin-top:1px;_margin-bottom:1px;}#permissions
td.module{font-weight:bold;}#permissions
td.permission{padding-left:1.5em;}#access-rules .access-type,#access-rules
.rule-type{margin-right:1em; float:left;}#access-rules .access-type
.form-item,#access-rules .rule-type .form-item{margin-top:0;}#access-rules
.mask{clear:both;}#user-login-form{text-align:center;}#user-admin-filter
ul{list-style-type:none;padding:0;margin:0;width:100%;}#user-admin-buttons{float:left;
margin-left:0.5em; clear:right;}#user-admin-settings fieldset
.description{font-size:0.85em;padding-bottom:.5em;}.profile{clear:both;margin:1em
0;}.profile .picture{float:right; margin:0 1em 1em 0;}.profile
h3{border-bottom:1px solid #ccc;}.profile dl{margin:0 0 1.5em 0;}.profile
dt{margin:0 0 0.2em 0;font-weight:bold;}.profile dd{margin:0 0 1em
0;}.user_relationships_ui_popup_form{margin:5px;padding:5px;border:5px solid
#003380;background:#EBEBEB;display:none;width:500px;position:absolute;z-index:1000;}#forum
.description{font-size:0.9em;margin:0.5em;}#forum td.created,#forum
td.posts,#forum td.topics,#forum td.last-reply,#forum td.replies,#forum
td.pager{white-space:nowrap;}#forum td.posts,#forum td.topics,#forum
td.replies,#forum td.pager{text-align:center;}#forum tr
td.forum{padding-left:25px; background-position:2px 2px;
background-image:url(/misc/forum-default.png);background-repeat:no-repeat;}#forum
tr.new-topics td.forum{background-image:url(/misc/forum-new.png);}#forum
div.indent{margin-left:20px;}.forum-topic-navigation{padding:1em 0 0 3em;
border-top:1px solid #888;border-bottom:1px solid
#888;text-align:center;padding:0.5em;}.forum-topic-navigation
.topic-previous{text-align:right; float:left;
width:46%;}.forum-topic-navigation .topic-next{text-align:left; float:right;
width:46%;}body div#page{ position:static;z-index:1;}body
div#header{position:static;z-index:1;}#utilities #plinks ul
li.expanded{position:relative;z-index:1;}#utilities #plinks ul li.expanded ul
li{font-size:100%;line-height:135%;width:160px;z-index:100;margin:0px;padding:0px;border-bottom:1px
solid black;}#utilities #plinks ul li.expanded
ul{display:none;}ul.primosottolivello{margin:0px;padding:0px 5px 5px 0px;
background:url(/themes/marinelli/img/menushadow.png) no-repeat 3px
10%;width:160px;position:absolute;left:0px;top:30px;z-index:100;}ul.sottolivello{margin:0px;padding:0px
5px 5px 0px; background:url(/themes/marinelli/img/menushadow.png) no-repeat
3px
10%;width:160px;position:absolute;left:160px;top:0px;z-index:100;}#utilities
#plinks ul li.expanded a{background:#054b81;}body #utilities #plinks ul
li.expanded a.active{background:#054b81
url(/themes/marinelli/img/expanded-drop.gif) no-repeat 4px 8px;}#utilities
#plinks ul li.expanded a.primoespanso:hover{background:#054b81
url(/themes/marinelli/img/expanded-drop.gif) no-repeat 4px 8px;}#utilities
#plinks ul li ul li a:hover{font-weight:normal;background:#043860;}#utilities
#plinks ul li ul li.expanded
a.espanso:hover{font-weight:normal;background:#043860
url(/themes/marinelli/img/expanded-right.gif) no-repeat 95% 8px;}#utilities
#plinks ul li.expanded a.primoespanso{background:#156aa3
url(/themes/marinelli/img/expanded-drop.gif) no-repeat 4px
8px;padding-left:23px;}#utilities #plinks ul li.expanded a.espanso,body
#utilities #plinks ul li.expanded ul li a.espanso{background:#054b81
url(/themes/marinelli/img/expanded-right.gif) no-repeat 95%
8px;padding-right:24px;padding-left:10px;}div.user_avatar_select
div.form-item{text-align:center;float:none;display:inline;width:85px;}div.user_avatar_select
label.option img{ padding:5px;}div.user_avatar_select label.option
img.avatar_hover{border:4px #7BFF57 solid;padding:1px;cursor:pointer;}body
div.user_avatar_select label.option img.avatar_select{border:4px #FF0000
solid;padding:1px;}div.avatar_selection_pager_nav{text-align:center;}div.avatar_selection_pager_nav
a{padding:0 5px 0
5px;}#edit-username-check-button{display:none;}.username-check-message{color:#FF0000;font-weight:normal;display:none;}.username-check-message-progress{color:#3E4A54;font-weight:bold;}.username-check-message-accepted{color:#417C12;}.username-check-message-rejected{color:#FF0000;}#username-check-informer{width:16px;position:absolute;display:none;}.username-check-informer{background:url(/modules/username_check/images/throbber.gif)
no-repeat center
3px;}.username-check-informer-accepted{background:url(/modules/username_check/images/accepted.png)
no-repeat left
center;}.username-check-informer-rejected{background:url(/modules/username_check/images/rejected.png)
no-repeat left
center;}.username-check-informer-progress{background:url(/modules/username_check/images/throbber.gif)
no-repeat center -17px;}*{padding:0;margin:0;}body{margin:40px 0 20px
0;}#page{margin:0px
auto;position:relative;width:970px;}#utilities{padding:0;margin:0px
auto;width:970px;
height:25px;position:relative;}#header{padding:0;margin:0;height:180px;position:relative;}#submenu{
padding:9px 10px 9px 14px;}.wrapper{
margin:15px;}#primary{float:left;margin:0px;}.path{ padding-bottom:3px;}.path
p span{ padding:5px;margin-right:10px;}#primary .singlepage .path
p{letter-spacing:0px;margin-top:-2px;}#primary .singlepage{padding:0 0 15px
0px;}.preview .node{ margin-bottom:10px;padding:20px;}#page #primary .drdot{
clear:both;}#page #primary .drdot hr{display:none;}#page #primary .tabs{
margin:20px 0 20px 0;}#header h1,#header p.sitetitle{ margin:0px;padding:20px
0 12px 35px;}#header p.slogan{ padding:8px 0 10px
60px;display:block;}#utilities form{
position:absolute;right:0;bottom:2px;}#utilities
label{display:none;}#utilities
input{margin-top:10px;margin-bottom:5px;float:left;}#utilities
input.form-submit{ margin:10px 4px 0px 4px;padding:1px;}#utilities
input.form-text{padding:2px;}#utilities #plinks{
position:absolute;left:-7px;bottom:0px!important;bottom:-1px;}#utilities
#plinks ul li{display:inline;float:left;margin-right:-2px;}.admintab{ }* html
.admintab{padding:5px 15px
6px}.lsidebar{width:180px;float:left;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:15px;}.rsidebar{width:180px;float:left;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:15px;}#sitemission{
margin:0px 0 20px 0;padding:15px;}.defaultblock{margin:0px 0 20px
0;}.defaultblock .blockcontent{margin:0px 0 20px 0;}.loginblock{margin:0px 0
20px 0;padding:0px 0 5px 0;}form#user-login-form
label{margin-bottom:3px;}.loginblock ul li{margin:0;padding:0;}.defaultblock
.blockcontent,.loginblock .blockcontent{padding:0 10px 0 10px;}.defaultblock
h2{padding:8px 4px 0px 12px;margin-bottom:10px;}.loginblock
h2{padding:4px;margin:0px 0 10px 0;}#primary .item{margin:0 0 15px
0;padding:0;}#primary .item .itemhead{margin:0 0 5px 0;padding:0;}#primary
.item .itemhead h3{display:block;margin:0 0 0 0 !important;margin:0 0 0
10px;padding:0;}#primary .item .itemtext{margin:0;padding:0;}#primary .item
.itemtext p,#primary .item .itemtext ul,#primary .item .itemtext ol,#primary
.item .itemtext div,#primary .item .itemtext blockquote{margin:0 0 0 0
!important;margin:0 0 0 10px;}#primary .item .itemhead
p.metadata{display:block;margin:2px 0 0 0 !important;margin:2px 0 0
10px;}#primary .singlepage p{margin:0 0 10px 0;}#primary .singlepage
h1,#primary .singlepage h2,#primary .singlepage h3,#primary .singlepage
h4,#primary .singlepage h5,#primary .singlepage h6{margin:0px 0 10px
0;padding:0;}#primary .singlepage h1{margin-bottom:12px;}#primary .singlepage
h2.with-tabs{margin-bottom:30px;}#primary .singlepage
p.small{margin-top:10px;padding-top:5px;}#primary img{margin:0 15px 0px
0;padding:4px;}#primary .singlepage img.destra{ margin:0 0px 0px
15px;padding:4px;float:right;}#primary .singlepage img.sinistra{ margin:0
15px 0px 0;padding:4px;float:left;}#primary .singlepage
img.altobasso{margin:0px;display:block;padding:0px;float:none;}#footer{width:970px;margin:0
auto;padding:15px 0;}.clear{clear:both;margin:0;padding:0;}.itemtext
ol,.itemtext ul{padding:0 0 0 35px;margin:0;}.itemtext ol li,.itemtext ul
li{margin:0 0 3px;padding:0;}.secondary div p{margin-top:0.5em;}.secondary
ul,.secondary ol,.secondary div{margin:5px 0 0;padding-left:0;}.tabs ul
li{background:none;padding:0;margin:0;list-style:none;}#primary
ul{margin:10px 0 10px 0;}.item-list ul li{margin:0 0 1px 0px;padding:0px 0
0px 22px;}#primary .singlepage .node .content li{ margin:2px 0 2px
0px;padding-left:22px;}#primary .singlepage .node .content ol li{ margin:2px
0 2px 0px;padding-left:0px;}#primary .singlepage .node .content ul,#primary
.singlepage .node .content ol,#primary .singlepage form ul{margin:10px 0 10px
25px;}.rsidebar ul.menu li,.rsidebar .item-list ul li,.rsidebar
li.leaf,.lsidebar ul.menu li,.lsidebar .item-list ul li,.lsidebar
li.leaf{padding:.15em 0 .15em 1.5em;}ul.inline li{margin:0;padding:0 1em 0
0;}.view table tr td{padding:0px;}table{margin:1em
0;width:98%;padding:0px;}table tr td{padding:5px;}#primary .node
table{border-collapse:collapse;}#system-themes table img.screenshot
{width:100px;}thead th{border-bottom:2px solid
#ccc;margin-bottom:4px;padding-bottom:4px;}tr:first-child
td.region,tr:first-child td.module,tr:first-child
td.container{border-top-width:0;}.sticky-table{
clear:left;padding:0px;overflow:hidden;}hr{margin:0;padding:0;height:1px;}dl{margin:0;}dl
dd{margin:0.5em 0 .5em 1.5em;}dl dt{padding:0 0 0 20px;margin:4px 0 4px
0;}.messages ul{margin:0;}.form-checkboxes,.form-radios,.form-checkboxes
.form-item,.form-radios .form-item{margin:0.25em
0;}.form-button,.form-submit{margin:0.5em 0.5em 1em
0;}#watchdog-form-overview .form-submit,.confirmation
.form-submit,.search-form .form-submit,.poll .form-submit,fieldset
.form-button,fieldset .form-submit,.sidebar .form-button,.sidebar
.form-submit,table .form-button,table .form-submit{margin:0;}fieldset
ul.clear-block li{margin:0;padding:0;}.box{margin-bottom:2.5em;}#primary
.content
blockquote{margin:15px;padding:12px;}div.admin-panel{margin:0;padding:5px 0px
15px 5px;}div.admin-panel .description{margin:0 0 3px;padding:2px 0 3px
0;}div.admin-panel .body{padding:0 0px 2px
0px;}div.admin{padding-top:15px;}div.admin
.left{float:left;width:45%;margin-left:1em;}div.admin
.right{float:right;width:45%;margin-right:1.1em;}div.bymodule ul
li{margin:3px 0 3px 0;padding:0px 0 0 22px;}#primary
.messages{padding:10px;}#primary .messages .status{padding:20px;}#primary
.help .help{padding:5px;margin:15px 0 15px 0;}#primary .help .help ul
li{padding-left:15px;}#comments{margin-top:2em;}.commentTitle{margin-bottom:10px;}#comments
.content{margin-bottom:5px;}.submitted{margin-bottom:10px;}.comment{margin:0
0
2em;padding:1em;}.links{margin-top:1em;clear:both;}.linksteaser{padding-bottom:15px;margin-bottom:15px;}.linksteaser
ul li{margin-right:5px;}.comment .links ul
li{padding-left:23px;padding-top:1px;padding-bottom:1px;}#primary .links
li.comment_forbidden,#primary .links li.comment_comments,#primary .links
li.blog_usernames_blog first{padding-left:22px;}.links
li.comment_add{padding:0px 0 0 23px;}.links .node_read_more{padding:1px 0 0
23px;}.taxonomy{margin:15px 0 25px
0;padding-top:10px;clear:left;}.taxonomyteaser{margin:10px 0 15px
0;padding-bottom:10px;clear:left;}.taxonomy span{}p
span.tagsteaser{padding-left:23px;}.preview .node .taxonomy ul li
span{padding-left:3px;padding-right:3px;}.metanode
span{padding-bottom:5px;}.metanode span.author{}.metanode
span.date{}.item-list ul.pager{margin:0px;padding-top:10px;}.item-list .pager
li{margin:0px;padding:3px;}.item-list .pager
li.pager-current{padding:4px;}#primary .picture{float:right;margin:8px 0 4px
8px;}#primary .picture img{float:none;margin:0 0 4px
5px;padding:4px;}.firma{margin:10px 0 10px 0px;padding-top:5px;}#primary
.singlepage #forum ul.links li.forum{padding-left:22px;}.singlepage #forum
.name{margin-bottom:8px;}#forum .links{margin:0px;display:inline;}#primary
img.sticky{float:none;margin:0px 0 0 8px;padding:0px;}.profile
h3{margin-bottom:20px;}.book-navigation,.forum-topic-navigation{margin-top:10px;}#page
table#attachments tr td{padding:4px;}#page
.poll{clear:both;margin-top:3px;}.poll .title{margin:8px 0 8px 0;}.poll
.percent,.pool .text{margin:1px 0 1px 0;}#page .poll .form-item{margin:8px 0
8px 0;}#page .poll .choices{margin:0px;}.links
.book_printer{padding-left:22px;}.links
.book_add_child{padding-left:22px;}#primary .content .book-navigation .menu
li{padding-left:22px;margin:4px 0 4px 0;}#primary .singlepage .search-results
dt{margin-top:10px;}fieldset{margin:1em
0;padding:1em;display:block;clear:left;width:95%;overflow:visible;}*:first-child+html
fieldset{padding:0 1em 1em;background-position:0 0.65em;}*:first-child+html
fieldset > .description,*:first-child+html fieldset .fieldset-wrapper
.description{padding-top:1em;}fieldset legend{
display:block;}*:first-child+html fieldset legend,*:first-child+html
fieldset.collapsed legend{display:inline;}html.js
fieldset.collapsible{margin:5px 0 5px 0;display:block;float:left;}html.js
fieldset.collapsed{margin:5px 0 5px 0;display:block;clear:left;}fieldset
ul.clear-block
li{margin:0;padding:0;}.teaser-checkbox{margin-bottom:10px;}.feedcontainer{margin-left:0px;margin-bottom:10px;margin-top:10px;position:relative;}#primary
.singlepage .feedcontainer h2{margin-bottom:10px;}#primary .singlepage
.feedsummary{padding-bottom:10px;}#primary .singlepage #aggregator li{
margin:3px 0 3px 18px;padding:0 0 0
3px;}.terminfo{padding:15px;margin-bottom:10px;}.form-submit{padding:2px;margin-top:0px;}#first-time{padding:10px;}#first-time
ol li{margin-left:30px;}body{color:#000;background:#054B81
url(/images/Background-Graphic-3.jpg) no-repeat fixed center
-100px}#page{background:white;border:12px solid
#054b81;}img{border:0;}#header{background:#000033
url(/themes/marinelli/img/banners/rotate.php) no-repeat 0px 0px;}#submenu{
background:#d9c05f url(/themes/marinelli/img/slinks.gif) repeat-x
top;color:#fff;}.path p
span{text-transform:uppercase;background:#e1e0e0;}#header h1,#header
p.sitetitle{color:white;}#header p.slogan{color:#fff;}#utilities
input.form-submit{border:#FFFFFF 1px
solid;background:#054B81;color:#ffffff;}#utilities
input.form-text{background:#FFFFE5;border:1px solid
#054B81;color:black;}#sitemission{background:url(/themes/marinelli/img/bgblock.gif)
repeat-x top;}#primary #sitemission p{color:#666;}.defaultblock
h2{color:#054B81;}.defaultblock
h3{color:#054B81;}.loginblock{background:#dbdbdb;}.loginblock ul
li{background:none;}.loginblock h2{color:white;background:#054b81
url(/themes/marinelli/img/login.gif) no-repeat 155px 4px;}.rsidebar
.loginblock ul li{background:none;}#primary .title h2{color:#054B81;}#primary
.item .itemtext{color:#444;}#primary .item .itemhead
p.metadata{color:#666;}#primary .singlepage img.destra{border:1px solid
#ccc;}#primary .singlepage img.altobasso{border:0px solid
#ccc;}#footer{color:#FFFFFF;background:none;}#footer img{border:none;}.tabs
ul li{background:none;padding:0;margin:0;list-style:none;}#primary
ul{margin:10px 0 10px 0;}.item-list ul
li{background:url(/themes/marinelli/img/leaf.gif) no-repeat 0px
2px;list-style:none;}.rsidebar ul li.expanded,.lsidebar ul.menu
li.expanded{background:transparent url(/themes/marinelli/img/expanded.gif)
no-repeat 2px .3em;}.rsidebar ul li.collapsed,.lsidebar ul.menu
li.collapsed{background:transparent url(/themes/marinelli/img/collapsed.gif)
no-repeat 2px .3em;}#primary .singlepage .node .content ul
li{list-style:none;background:url(/themes/marinelli/img/leaf.gif) no-repeat
0px 2px;}#primary .singlepage .node .content ol
li{list-style-type:decimal;}.rsidebar ul.menu li,.rsidebar .item-list ul
li,.rsidebar li.leaf,.lsidebar ul.menu li,.lsidebar .item-list ul
li,.lsidebar
li.leaf{list-style-type:none;list-style-image:none;background:transparent
url(/themes/marinelli/img/leaf.gif) no-repeat 2px .3em;}ul.inline
li{background:none;}#primary .node table tr td{border:0px solid
#054B81;}thead th{border-bottom:2px solid
#ccc;color:#494949;}tr.even{background-color:#E6E6E6;}tr.odd{background-color:#FAFAFA;}td.region,td.module,td.container{background-color:#CDD6DE;border-bottom:1px
solid #AAAAAA;border-top:1.5em solid
#fff;color:#455067;}td.menu-disabled,td.menu-disabled
a{background-color:#D5C2C2;color:#000;}hr{border:none;background:#5294c1;}dl
dt{background:url(/themes/marinelli/img/square.gif) no-repeat 0
1px;}span.form-required{color:#ffae00;}.form-item ul
li{list-style:none;}.fieldset ul li{list-style:none;}fieldset ul.clear-block
li{background-image:none;}#primary .content
blockquote{background-color:#ffffff;border-left:2px solid
##999;color:##999;}.preview .node{background-color:#faf6d9;border:4px dashed
#e7e3c4;}div.admin-panel{background:url(/themes/marinelli/img/gradient.gif)
repeat-x;}#primary .messages ul li{list-style:none;}#primary .messages
.status{graphics.css?z (line 189) background-color:#E0E0E0;border:2px solid
#FF0000;}#primary .help .help{background-color:#FFFFCC;border:1px solid
#FFCC00;}#primary .help .help ul
li{background:url(/themes/marinelli/img/lista.gif) no-repeat 0
7px;list-style:none;}#primary .admin-dependencies,#primary
.admin-required{color:#999999;}#primary
code{color:#000;}.comment{background-color:#ededed;border:1px solid
#ccc;}.comment .links ul li{list-style:none;background:none;}.comment .links
li.comment_delete{background:url(/themes/marinelli/img/commentdelete.gif)
no-repeat;}.comment .links
li.comment_edit{background:url(/themes/marinelli/img/commentedit.gif)
no-repeat;}.comment .links
li.comment_reply{background:url(/themes/marinelli/img/commentadd.gif)
no-repeat;}#primary .links
li.comment_forbidden{background:url(/themes/marinelli/img/lock.gif)
no-repeat;}#primary .links
li.comment_comments{background:url(/themes/marinelli/img/comments.gif)
no-repeat;}#primary .links li.blog_usernames_blog
first{background:url(/themes/marinelli/img/blog.gif) no-repeat;}.links
li.comment_add{background:url(/themes/marinelli/img/comment_add.gif)
no-repeat;}.links
.node_read_more{background:url(/themes/marinelli/img/readmore.gif)
no-repeat;}.taxonomy{border-top:4px solid #eee;}.taxonomy span{}p
span.tagsteaser{background:url(/themes/marinelli/img/tags.gif)
no-repeat;color:#24365c;}.preview .node .taxonomy ul li
span{background:none;}.linksteaser{border-bottom:1px dashed #ccc;}.metanode
span.author{}.metanode span.date{}.item-list .pager
li.pager-current{background-color:#ededed;border:1px solid
#ccc;color:#333;}.picture img{border:1px solid
#e1e0e0;background:white;}.picture a:hover
img{background:url(/themes/marinelli/img/bgavatar.gif) no-repeat
bottom;}.firma{border-top:1px solid #dfdede;color:#666;}#primary .singlepage
#forum ul.links li.forum{background:url(/themes/marinelli/img/post.gif)
no-repeat 0px -1px;}.singlepage #forum table
tr.even{background-color:#ededed;}.singlepage #forum table tr
td.container{background-color:#FFF;}.profile
h3{border-bottom:none;}.book-navigation,.forum-topic-navigation{background:#eee;}#page
.poll .bar .foreground{background-color:#156aa3;}.links
.book_printer{background:url(/themes/marinelli/img/print.gif)
no-repeat;}.links
.book_add_child{background:url(/themes/marinelli/img/add.gif)
no-repeat;}#primary .content .book-navigation .menu
li{background:url(/themes/marinelli/img/figlio.gif) no-repeat 0
0px;list-style:none;list-style-image:none;list-style-type:none;}#primary
.singlepage .search-results
dt{background:url(/themes/marinelli/img/result.gif) no-repeat;}#primary
.singlepage .search-results p
strong{background:#FFFF99}.hide{visibility:hidden;height:5px;}fieldset{border:1px
solid #ccc;}*:first-child+html fieldset{background-position:0
0.65em;background-color:transparent;}fieldset ul.clear-block
li{background-image:none;}.feedcontainer
.feedcontent{margin-bottom:1.5em;border:1px solid
#CCCCCC;padding:7px;}#primary .singlepage .feedsummary{border-bottom:1px
dashed #ccc;}#primary .singlepage #aggregator
li{list-style:square;background:none;}.terminfo{background:#fdffe5;}#primary
.terminfo p{color:#666600;}.form-submit{border:3px double
#ccc;background:#005a8c;color:#fff;}body{font-family:Arial,Helvetica,sans-serif,"MS
sans serif";line-height:1.125em; font-size:76%;
letter-spacing:normal;text-align:center;}#page{text-align:left;}#submenu{
font-size:1.1em;text-align:left;letter-spacing:1px;}.path p span{font:bold
0.75em Georgia,"Times New
Roman",Times,serif;text-transform:uppercase;}#primary .singlepage .path
p{font-size:1.1em;letter-spacing:0px;line-height:1.8em;}#primary .singlepage
p,.defaultblock .blockcontent{ font-size:1.05em;line-height:1.3em;}#header
h1,#header p.sitetitle{ font-family:Georgia,"Times New
Roman",Times,serif;font-size:4em;font-color:#054B81;line-height:62%;font-weight:lighter;letter-spacing:-1px;text-transform:none;}#header
p.slogan{ font-family:Georgia,"Times New
Roman",Times,serif;font-size:1.4em;line-height:0.6em;font-weight:lighter;letter-spacing:-0.3px;}#header
h1,#header p{font-family:Georgia,"Times New Roman",Times,serif;}#utilities
input.form-submit{font-size:1em;}#utilities
input.form-text{font-size:1em;}#utilities #plinks{font-size:1.1em;}#primary
#sitemission p{font-family:Georgia,"Times New
Roman",Times,serif;font-size:1.7em;font-style:italic;line-height:120%;text-align:center;}
.loginblock{font-size:1em;}form#user-login-form{text-align:left;line-height:0.9em;}.defaultblock
h2{font:1.0em Georgia,"Times New
Roman",Times,serif;font-weight:bold;text-transform:uppercase;}.loginblock
h2{font:1.1em Georgia,"Times New Roman",Times,serif;font-weight:bold;}
#primary .singlepage h1,#primary .singlepage h2,#primary .singlepage
h3,#primary .singlepage h4,#primary .singlepage h5,#primary .singlepage
h6{font-family:Georgia,"Times New
Roman",Times,serif;font-weight:lighter;letter-spacing:0px;text-align:left;text-transform:none;text-color:#054B81;}#primary
.singlepage h2.nodeTitle a{ font:1.1em Georgia,"Times New Roman",Times,serif;
color:#054B81}#primary .singlepage
h1{font-size:2.1em;line-height:1.2em;color:#054B81}#primary .singlepage
h2{font-size:1.7em;line-height:1.2em;color:#054B81}#primary .singlepage
h3{font-size:1.4em;line-height:1.2em;color:#054B81}#primary .singlepage
h4{font-size:1.2em;line-height:1.2em;color:#054B81}#primary .singlepage
h5{font-size:1em;line-height:1.2em;color:#054B81}#primary .singlepage
h6{font-size:0.9em;line-height:1.2em;color:#054B81}#primary .singlepage
p.small{font:1em/1.5em 'Lucida
Grande',Verdana,Arial,Sans-Serif;}#footer{text-align:center;font-size:1em;font-weight:bold;}#primary
.singlepage form{font-size:0.95em;line-height:1.3em;}div.bymodule ul
li{font-size:1.1em;}#primary .singlepage .node .content ul
li{font-size:105%;line-height:1.45em;}#primary .singlepage .node .content ol
li{font-size:105%;line-height:1.45em;}table tr td{font-size:1em;}.view table
{font-size:100%;}thead th{font-weight:bold;text-align:left;}table tr
td{text-align:left;}td.region,td.module,td.container{font-weight:bold;}.sticky-table{font-size:90%;}dl
dt{font-size:1.1em;}dl dd{font-size:1.1em;line-height:1.3em;}#primary
.content blockquote{margin:1em 3em;border-left:2px solid
#999;padding-left:1em;}#primary
.messages{font-size:1.1em;line-height:1.3em;}#primary .singlepage .help
p{font-size:1em;line-height:1.3em;}#primary .admin-dependencies,#primary
.admin-required{font-size:100%;font-style:italic;}#comments{font-size:1em;}#comments
.box
h2{font-size:1.3em;}.commentTitle{font-size:1.6em;font-family:Georgia,"Times
New
Roman",Times,serif;}.submitted{font-style:italic;font-size:1em;}.links{font-size:1.0em;}.taxonomy{font-size:1em;}.taxonomyteaser{font-size:1em;}.taxonomy
span{font-weight:bold;}p
span.tagsteaser{font-weight:bold;}.metanode{font:0.85em Georgia,"Times New
Roman",Times,serif;font-style:italic;}.metanode span.author,.metanode
span.date{font-weight:bold;}.item-list
ul.pager{text-align:left;font-size:1em;}.firma{font-style:italic;font-weight:normal;font-family:Georgia,"Times
New Roman",Times,serif;font-size:1em;letter-spacing:1px;}#primary .singlepage
#forum ul.links li.forum{font-size:1em;}.singlepage
#forum{font-size:1em;}.singlepage #forum
.name{font-size:1.1em;}.profile{font-size:1em;}.profile
dl{font-size:1em;}.profile dl dt{font-size:1em;}.profile dl
dd{font-size:1em;}.profile dd{font-size:1em;}.profile
h3{font-size:1.2em;}.book-navigation,.forum-topic-navigation{font-size:0.9em;}.book-navigation
a,.forum-topic-navigation a{font-weight:normal;}#page table#attachments tr td
a{font-weight:normal;}.poll .title{font-weight:bold;}#page .poll
.vote-form{text-align:left;}#page .poll .total{text-align:left;}#primary
.singlepage .search-results p.search-info{font-style:italic;}#primary
.singlepage .feedcontainer h2{font-size:1.6em;}#primary .singlepage
#aggregator h2{font-size:1.6em;}#primary .singlepage #aggregator
li{font-size:0.8em;}.terminfo{font-family:Georgia,"Times New
Roman",Times,serif;}#primary .terminfo
p{font-size:1.5em;font-style:italic;line-height:1.3em;text-align:center;font-weight:lighter;}.form-submit{font-size:1.0em;}.view-nodequeue-10{font-size:0.9em;}.view-nodequeue-9{font-size:0.9em;}.view-tracker{font-size:1em;line-height:1.75em;}#footer
a{color:white;text-decoration:none;}#footer
a:hover{color:#054B81;text-decoration:underline;}a{color:#005a8c;text-decoration:none;}#primary
.node .content a{text-decoration:underline;}#primary .node .content
.book-navigation a,#primary .node .content .forum a,#primary .singlepage form
legend a{text-decoration:none;}#primary .node .content .book-navigation
a:hover{color:#005a8c;background:none;text-decoration:underline;}#primary
.node .content a:hover,.defaultblock a:hover,#primary h2.nodeTitle
a:hover,#primary .linksteaser a:hover,#primary #comments a:hover,#primary
.taxonomy a:hover,#primary .links a:hover,#primary .path a:hover,#primary
.metanode a:hover,#primary .admin a:hover,#primary dl dt a:hover,#first-time
a:hover{background-color:#005a8c;color:white;text-decoration:none;}#submenu
ul li a{color:white;}#submenu ul li
a:hover{text-decoration:underline;}#submenu ul li
a.active{font-weight:bold;text-decoration:underline;}#primary .tabs
.secondary li a{ margin:12px 12px 12px 0px;}#header h1 a,#header p
a{color:#fff;}#header h1 a:hover,#header p.sitetitle
a:hover{text-decoration:underline;}#utilities #plinks ul li a{
color:white;background:#156aa3;text-transform:capitalize;padding:7px 10px 7px
10px;display:block;}#utilities #plinks ul li
a:hover{background:#054b81;color:#fff;text-decoration:none;}#utilities
#plinks ul li a.active,#utilities #plinks ul li a.active:hover{color:#fff
!important;background:#054b81;text-decoration:none;font-weight:bold;}#footer
a:hover{text-decoration:underline;}#primary .help .help a,#primary .help
.help a:hover{color:#990000;font-weight:bold;}-->
Pragyan,

Thank you for registering. You may now log in to
http://www.i.... using the following username and
password:

#36

Hilal - March 30, 2009 - 00:49

OK. The Mime Mail CSS Combiner module which is included in the module fixed my issue, but plain text emails for hotmail is still an issue.

#37

tanc - May 27, 2009 - 02:42

Hilal, if you want to avoid all your theme's css being included just put a mail.css file in your (admin) theme's directory and it will automatically get picked up and used by mimemail instead.

#38

pieterbezuijen - June 10, 2009 - 11:24

The patch in #32 seems older than the version I'm using (mimemail dev of 08-02-2009), so didn't try that.

In my case, the first newsletter was just fine, and the second was text only. I saw a difference in the header that is the same as in #25. I solved this very easy by placing an inline (relative) image of 1x1 pixel. Now there is an attachment included and the message is sent as multipart/mixed and all works fine.

Maybe this will help?

#39

patchak - June 20, 2009 - 13:54

I'm using latest and greatest for mime mail and simplenews, and I'm still unable to see a html email in hotmail!

I have inserted some inline images in the body and still no luck.

I also tested to forward from gmail and OSX Mail, and the email gets to Hotmail in html form.

The only place where this does not work is when the mail is sent directly to Hotmail!

it seems the fix in #32 works for some people, but I tried replacing the latest mimemail.inc with the one from that comment and it broke the module.

Maybe someone could make a diff from the two versions and post a more recent version so we could test it?

I'm no coder at all, so I can't really do it, but would be ready to test anything!

Patchak

#40

bright8 - June 21, 2009 - 15:42

This issues seems to be also covered in: http://drupal.org/node/310305
I have just posted the solution that works for me on that thread, but include it here too for completeness:

This problem definitely seems to be caused because Hotmail (and presumably Outlook, for those who are having similar problems with Outlook) doesn't like the MIME type "multipart/alternative". I have no idea why this is, but forcing the MIME type to "multipart/mixed" fixes the problem for me.

I did this by adding an extra line to mimemail.inc at line 321 (Mime Mail version 6.x-1.x-dev dated 2009-Jun-08):

$content_type = 'multipart/mixed';
return mimemail_multipart_body($parts, "$content_type; charset=utf-8");

This is obviously a kludge but it solves the problem for the type of newsletters I want to send out. mimemail.inc sets $content_type to "multipart/alternative" as the default setting, then modifies it to "multipart/related" or "multipart/mixed" based on some criteria that I don't really understand. Perhaps using "multipart/mixed" as the initial default would be a safer choice?

#41

poniesrock - August 31, 2009 - 19:07

using the absolute path in the img src (in my node-simplenews-body.tpl.php), they were not sent as attachements, but the newsletter appeared plain in hotmail. if i indicated the pics using $base_path, the pictures were sent as attachements, but everything looked fine in hotmail.

#42

encho - July 8, 2009 - 20:07

#40 That worked for me, thanks. Hope it will be fixed in the next release.

#43

RAFA3L - July 11, 2009 - 17:16

subscribe

#44

Delta Bridges - July 14, 2009 - 18:23

Hello bright8,

I am confused about your #40 ... I have the same version of Mime mail as you do, but somehow it looks like your extra line is already included !!

  foreach ($attachments as $a) {
    $a = (object) $a;
    $content_type = 'multipart/mixed';
    _mimemail_file($a->filepath, $a->filename, $a->filemime, 'attachment');
    $parts = array_merge($parts, _mimemail_file());
  }

  return mimemail_multipart_body($parts, "$content_type; charset=utf-8");
}

function mimemail_parse($message) {

But then again, I don;t know much about coding... do you think you could provide a patch?
Many thanks!

#45

codemann - July 30, 2009 - 14:26

I can't get this fixed on Hotmail, I tried all the patches that are suggested above.
I'm using the dev version of Drupal 6 (2009-Jun-08), trying to send an email with Simplenews/Mimemail, the layout is in a table and contains 2 images. Works perfectly for me in Thunderbird, Outlook 2007 and Gmail. But in Hotmail it keeps appearing as a text mail... It's really driving me crazy, I have no idea what this can be.

#46

jwaxman - July 30, 2009 - 18:57

Here's the mimemail.inc file I'm using.
If this doesn't solve the problem then there's another problem.
What input filter have you pointed Mimemail to?

AttachmentSize
mimemail.zip 5.56 KB

#47

javamandk - July 31, 2009 - 08:19

#46 This fixed my problem in hotmail.

Line: 323

   //return mimemail_multipart_body($parts, "$content_type; charset=utf-8");
  $content_type = 'multipart/mixed';
  return mimemail_multipart_body($parts,$content_type);

Thanks..

#48

jerome72 - August 9, 2009 - 14:00

Thank you so much jwaxman!

It worked great for me as well! :) :)

#49

Bob3009 - August 18, 2009 - 15:51

#40 also worked for me, thank you for your help bright8

#50

hanoii - September 7, 2009 - 19:46

subscribe

#51

kelvincool - September 9, 2009 - 16:06

#40 fixed my hotmail issue too! Thanks!

#52

jrglasgow - October 1, 2009 - 06:31

Here is an actual patch based on #47 which worked for me

AttachmentSize
mimemail-372710.patch 734 bytes

#53

nardberjean - October 24, 2009 - 22:53

I just tested unmodified version of 6.x-alpha1 and it shows as text/plain in Hotmail, using css compressor as well. I compared what mimemail produces and icedove, I am suprised by the double embeded multipart structure found on mimemail messages.

https://wiki.koumbit.net/Courriel_html_de_Mime_Mail_6.x-1.0-alpha1_trait...

https://wiki.koumbit.net/Courriel_html_de_icedove_accept%C3%A9_par_Hotmail

 
 

Drupal is a registered trademark of Dries Buytaert.