Question about formatting HTML emails for iPhone

I have a question about how to format HTML emails to fit on an iphone. For example I can send an email to my friends who use Macs or PC’s and it comes across fine in HTML. When I send it to someone who has an iPhone though the formatting isn’t right.
What I mean by the above is it seems there’s a problem with how it’s formatted and with wrap-around.

-What is the screen width or the iPhone’s mail program?

-Is there a way to format and put in the HTML a way to recognize if it’s being read on a mobile device such as an iphone and then format it correctly?

The problem I’m having is I can put an image at the top of my email and it seems that if it’s wider than 400 or so the text in my letter below only shows up to be about 1/3 to 1/2 the width of the iphone’s screen. Yet if I make it smaller than 300 the text comes out fine and goes completely across the screen.
Yet when the email is then read on a computer with it being only 300 wide the email isn’t anywhere near full screen of the email program and doesn’t look correct.
Thank you for your help with the above.


Sitepoint has an article here with some iphone development tips but there are no specific email tips though I’m afraid.

Maybe try looking in the apple forum here.

Thank you. I’ll take a look at that.

You might find this useful:

iPhone has a custom email client that supports HTML “rich” email. It is sometimes called Mobile Mail (It’s based on this client) (MobileMe is available for iPhone)