How do I add a link to a web version of my sendgrid emails like "having trouble reading this email, click here"?
[EDIT] I use a php sendgrid library include "sendgrid-php-master/SendGrid_loader.php";
And I use this code and it doesn't work :
$mail = new SendGrid\Mail();
....
$mail->setHtml('<a href="[weblink]">View this email in your browser</a><br />'.$sg_html_code);
...