Is there a way to add link in subject of email? Following is the example of YouTube -
Here in my code I'm trying the following but still unsatisfactory result. The below code is sending the subject as it is with printing the whole anchor tag in the subject.
public function contact_us($data)
{
$from = "from@example.com";
$to = "to@example.com";
$view = 'emails/contact_us';
$subject = "Contact Us <a href='http://www.example.com'>Link</a>";
$view_data = $data;
$this->send($from,$to,$subject,$view,$view_data);
}