I'm using Swift_mailer in PHP to send auto generated messages. I've recently been asked to expand the e-mail to include contact information, so I want to use the html 'mailto' function for when people need to provide feedback. The only thing I can't figure out is how to import the subject from the PHP/Swift_Mailer into the subject in the HTML link. Current code looks something like this:
<?php>
....
$message->SetSubject("Subject");
....
<html>
....
<a href="mailto:someone@somewhere.com?Subject%20to%20import%20subject%20here" target="_top">CLICK HERE</a>
Thanks all!