Pergunta

I'm kind of baffled that this mailto url successfully opens a new email appropriately filled out on the iOS mail app, but fails to open anything at all when clicked on in the Gmail and Mailbox apps (most up to date versions):

<a href="mailto:email@address.com?subject=This is the subject&body=This is the body">link</a>

Any ideas around how to get this mailto url to open in Gmail/Mailbox iOS apps as it does in the standard iOS mail app? Thanks.

Foi útil?

Solução

It's a bug with the Gmail app, see below link. Leave a comment on that thread so the Gmail team notices :)

https://groups.google.com/a/googleproductforums.com/d/msgid/gmail/0fac71fe-546f-4dba-a85c-93c28ac1bbc6%40googleproductforums.com

Outras dicas

Try replacing your spaces with %20 in your subject and body.

Like this:

<a href="mailto:email@address.com?subject=This%20is%20the%20subject&body=This%20is%20the%20body">link</a>
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top