HTML mail get cropped in Gmail
I am sending a news letter, which sometimes gets long.
For some rea开发者_如何学Goson, if the mail is exceptionally long it gets cropped in Gmail's web application. However, when i view the same mail on my iPhone or Outlook everything seems to work fine.
The mail itself is HTML and I am 100% sure that Gmail doesn't crop the original mail since I've also forwarded it from my Gmail account to a different mail account and managed to get the entire mail in the other web application.
I am running Vista 64bit and I tried to view the mail in FF, Chrome & IE but got the same result on all of them.
Any help will be appreciated.
Without actually seeing the HTML and the result in an email, the only suggestion I can make is that you check to make sure all your CSS is inline and that you are using absolutely no JavaScript. The rules of web development and separation of content and presentation don't apply to emails, unfortunately.
However, check to make sure you are emailing a full, HTML document with a doctype, head, and body.
You could also use a debugger like Firebug to inspect the document to determine if there are any CSS tweaks you can make to render the document, such as perhaps using a fixed height, max-height, margin, or padding rule.
Since there was a length limitation on Gmail's end, the HTML itself was formatted into a single line, this is what caused the view problem. To solve it, I've cut down the HTML into several lines and everything started to work great.
精彩评论