How to open iMessage from a webpage using HTML


Note: This works if you are on an iOS 5+ Device only. It might open up your SMS application on other devices and crash and burn. Check the user agent before displaying.

iMessage can be opened by using the following SMS format in your href:

sms:email@address.com

Full example:

<a href="sms:your@emailaddress.com">iMessage Me</a>