문제

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

<a href="mailto:me@mydomain.com&cc=me2@domain.com&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?

도움이 되었습니까?

해결책

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

So the final result is:

<a href="mailto:me@mydomain.com?cc=me2@domain.com&subject=mysubject">Contact</a>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top