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&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
Post a Comment