so i using php mailer to send email. The email was sent. When i open that email on http://temp-mail.org, the hyperlink is working. But when i open it on gmail, gmail strip my href.
Here is my code:
\Mail::send([], [], function ($message){
$message->from('email@from.com', 'Email From');
message->to('email@to.com');
$body = '<a href="https://google.co.id">Check this link</a>';
$message->setBody($body, 'text/html');
});
it's work on temp-mail, but on gmail it only return:
<a>Check this link</a>
At the end of email i got this:
Privileged/confidential information may be contained in this message. If you are not the named recipient or addressee, you are hereby notified that any use review, disclosure or copying of the contents herein is strictly prohibited. In such a case, kindly discard all its contents and notify sender accordingly regarding such unauthorized disclosure or transmission by email. Opinions, conclusions, statements and other information in this message that do not relate to the official business of //Sender shall be understood as neither given or endorsed by it. The contents herein are meant strictly for the use of the named recipient or addressee of //Sender. No assumption of responsibility or liability whatsoever is undertaken by //Sender in respect of prohibited and unauthorised use by any other person.