Getting the Iphone's email functionality in a web page using php

I am trying to get the iphone’s email link functionality in my site while running the site in iphone browser using php script.

Anybody has any idea?

Please help me.

Does a normal <a href="mailto:email@domain.com">Click here</a> not work?

I need the email address of mobile device for the from address.

Please help me.

Thanks.

If that link works, the from address will be automatic. As if they click on the link in their browser, it should open the email client on the phone and the from address will be set to the current account

Thank you so much. That link works fine for me.

I trying to construct a mailto: with formatted body text in the subject line that includes line feeds. For example:

<a href="mailto:email@email.com?body=Line 1%0ALine 2%0ALine3"> the %0A is not recognized and the rest of the text is truncated

Please help me.

Thanks.