Closed (fixed)
Project:
Mime Mail
Version:
6.x-1.0-alpha2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2010 at 11:21 UTC
Updated:
23 Jul 2010 at 18:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
FranCarstens commentedI'm having the same problem on Mailout.
Comment #2
intent commented+1 for this problem.
FWIW, a couple of my users have told me the email isn't displaying properly on their BlackBerry either. From the sounds of it (I haven't been able to actually see an example yet), they are receiving the html version on the BlackBerry, but the links in the email aren't active.
Comment #3
kone23 commentedStill haven't solved the issue.
Since then, I made a website using ubercart module (e-commerce) which sends its own html emails. It worked fine with iphone/blackberry.
If no one brings a solution here, I will dig into ubercart's code and figure out how it creates and formats html emails.
I will keep you posted.
Comment #4
sgabe commented@kone23:
You should do that IMHO. Just waiting for the solution is not a good strategy, when you can help to find it.
Comment #5
kone23 commented@Sgab
You're right. I'm the one who created this thread though. So I'm the one who needed help at first. Because no one came up with a solution, I thought I would share my thinking with other drupalers having the same problem. Trying to figure out how Ubercart works compared to MIMEMail is on my todo list. I just need time for investigating.
BTW: do you have the same problem as us in this thread ?
Comment #6
sgabe commented@kone23: I haven't got iPhone, so I can't help and I think I'm not the only one like this, it concerns very few users. Believe me, if I could help, I would.
Comment #7
Mac Clemmens commentedThis may fix the problem for blackberries, iphones and some versions of outlook:Please see next comment, instead. Thanks!around line 334 of mimemail.inc:
- return mimemail_multipart_body($parts,"$content_type; charset=utf-8");
+ $content_type = 'multipart/mixed';
+ return mimemail_multipart_body($parts,$content_type);
I learned this through my own painful experience of trial and error. We're using it on about 20 sites with hundreds of mimemail messages going out every day, and it appears to operate well. Hope it saves you some grief. :)
Comment #8
sgabe commented@Digital Deployment: Sorry, but this will break tons of other things for sure. This is not a solution, just a symptomatic treatment, that will not work in every cases, neither on iPhone IMHO. If you have an idea, you have to test it in every possible case you can. However, did you try the current HEAD? There was a similar issue #372710: HTML emails are text-only in Hotmail, which has been committed and maybe solves this problem too.
Comment #9
Mac Clemmens commentedThanks! I will try HEAD.
Comment #10
hs@henrikstrindberg.se commentedIt seems to work in 6.x-1.0-alpha3.
Using Simplenews 6.x-1.3
Thanks!
/ Henrik
Comment #11
sgabe commentedThis can be marked as fixed then. Feel free to reopen if the problem persist.
Comment #12
kone23 commentedI confirm it works perfectly & out the box (no patch or hack needed) with the new versions of MIME Mail 6.x-1.0-alpha3 and Simplenews 6.x-1.3 mentioned in #10.
Thanks everyone.
Comment #13
roball commentedComment #15
interestingaftermath commentedduplicate (messed up the image upload)
Comment #16
interestingaftermath commentedI am re-opening this issue because I alpha3 did not completely fix the issue for me. Let me explain. (I can see that this may be considered a branch of this issue, but it's so closely linked I felt it was important to post here)
On alpha2 my e-mails would show correctly on all clients: Gmail, Apple Mail OSX, iPhone, iPad, Outlook Express, etc. I noticed that they would NOT show correctly when the CSS Compressor was not enabled. This was a life saver for me because without, my e-mail on all but Gmail would appear 100% of the screen. On Outlook Express it would be about 4000px wide. It was insane.
Later on, without any changes to my knowledge, the orders on the iPhone/iPad began appearing in plain text only. The e-mail was formatted correctly on all other clients.
That's when I stumbled onto this thread about the iPhone/iPad plain text issue and alpha3 being the fix for this issue. I happily installed alpha3, ran update.php as always and tested it out. However, even with CSS Compressor installed, the e-mail is back to appearing 100%. The sort of good news is that the iPhone/iPad is back to displaying html BUT it's appearing 100% rather than being formatted correctly.
I am forced to go back to alpha2 and wait for this issue to be resolved. I hope others have experienced the same thing or someone can direct me to what I am doing wrong.
Background:
I am using Rules to mail to a specific rule based on a form submit. It then uses Mime Mail to process/send the e-mail.
I've attached images to show examples of what I am talking about (e.g. correctly formatted and 100% formatted).
Comment #17
sgabe commentedThis issue is about plain text vs. HTML format, since you have your emails in HTML format, your problem is not related to this one. You should open a new issue with further details (mail.css, message body etc.).
Comment #18
interestingaftermath commentedI took your advice and opened another issue: http://drupal.org/node/849716
Comment #19
sgabe commentedThank you!