Ampersand-& spaces are breaking the subject in mailto function
Use the rawurlencode() function to solve this issue. Eg: suppose subject is coming from php scripts
1 2 3 |
$subject= "Hello You & me are friends"; <a href="mailto:contact@mydoubts.in?subject=<?php echo rawurlencode($subject);?>" target="_blank">Send mail</a> |