Phonegap (Cordova) mailto link with CC not working

2.5k Views Asked by At

Hello I am trying to add a simple link something like:

<a href="mailto:[email protected]&[email protected]&subject=mysubject">Contact</a>

Instead of putting each content in the respect field in the emails (to, cc, subject) the mail app in IOS puts the entire string in the "to" field.

How can I solve this?

1

There are 1 best solutions below

0
On BEST ANSWER

The first query string should start with "?" instead of "&".

So the final result is:

<a href="mailto:[email protected][email protected]&subject=mysubject">Contact</a>