javascript - Problem with showing HTML tags in Android Email client -



javascript - Problem with showing HTML tags in Android Email client -

i'm trying fill subject , body of android email (or gmail) client web.

<button onclick="parent.location='mailto:?subject=prijatelj ti preporučuje ponudu&amp;body=Ćao, pogledaj ovu ponudu na grupovini! <br />http://localhost:8089/deal/skocite-sa-padobranom<br />skok sa padobranom<br />skocite'">pošalji @</button>

so it's simple mailto script has "" html tags. works fine on iphone, have new lines not on android shows text (it not format html).

so question how new line on android email / gmail client (\r\n not works either)?

you can't.

the specs of mailto specifies body param first line of mail service content...

strange iphone that...

or, found (not tested):

mailto:?to=email%40example.com&subject=mailto%20uri%20scheme&body=line1%0d%0aline2&cc=email%40example.com&bcc=email%40example.com

javascript android html

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -