English 中文(简体)
My App s email shows up blank in IE7
原标题:

My app sends out email to users (upon signup, welcome etc.) and they show up blank in IE. Fine in IE8, Firefox. The content-type for the email is set to html. The email has links.

Any pointers on how to solve this or workaround this, greatly appreciated.

Update: If I change my gmail view to basic html in IE7, then the email gets displayed.

So what is it in my mailer code that causes blank display in standard view (atleast in gmail)

code is at http://gist.github.com/230224

问题回答

Since Internet Explorer isn t an e-mail client, I can only guess that what you mean is Microsoft Outlook. On that premise, the problem might be that Outlook s HTML renderer has in fact been Microsoft Word since 2007. Microsoft Word has terrible support for just about everything web related, so the only "fix" is to dumb down your HTML and CSS as much as possible. Opening your HTML e-mails in Word before sending them will make it easier to debug problems, but it s still going to be a royal PITA because of the poor level of support Word has.

If you didn t mean Outlook, but infact IE, I think you need to elaborate on exactly where you are seeing these problems (like what web mail client).

IE isn t an e-mail client. Is this on a specific webmail client?

My mailer code was wrapped in a div like this:

<div style="font-family:Georgia;margin: 10%;">

The problem is with the margin:10%;

Once I removed it, the emails were displayed fine in ie7.





相关问题
jquery set div width fails in IE7

I have the following code and it works correctly in FF and IE8 but fails in IE 7 anyone have an idea or hack if ($("#midRight:contains( Quick Links )").length == 0) { $("#midCenter").css({ ...

Ie7 float right bug?

I have a div floated right. Inside that div are two other divs. The first div has a background color and when I refresh, it s "bleeding" into the second div. (Sometimes in front of it sometimes ...

IE errors with jQuery & timeout

In a jquery hover event I use the following code to drop down a menu: clearTimeout(hTimeout); $( #lowermenu ).queue( fx , []); $( #menucenter .current ).removeClass( current ); $(this).children( a )....

window.onbeforeunload not firing in child window

I want to bind a function to the beforeunload event of a child window in Javascript. I have the following code: newWind = window.open(settings.url, "Dialog", "width=" + settings.width + ",height=" + ...

My App s email shows up blank in IE7

My app sends out email to users (upon signup, welcome etc.) and they show up blank in IE. Fine in IE8, Firefox. The content-type for the email is set to html. The email has links. Any pointers on how ...

热门标签