mailto with empty recipient?
IphoneEmailIphone Problem Overview
is there anyway that I can use "mailto" with empty recipient? I only want to supply the subject and the message body and then the user can write the to addresses on mail. I tried writing only a space but it didn't work.
Iphone Solutions
Solution 1 - Iphone
This should do, I tested it.
mailto:?subject=your%20subject&body=your%20body
And as HTML with correct escaping of the ampersand:
<a href="mailto:?subject=your%20subject&body=your%20body">test</a>
Solution 2 - Iphone
This should work..
<a href="mailto:?subject=My Subject">test</a>
Solution 3 - Iphone
I tried the accepted answer but it failed to launch an email when using Chrome. Using a %20
instead of a space worked though:
<a href="mailto:%20?subject=Wazzup&body=Yo">Send an Email</a>