I have this script.
<!-- AddEvent -->
<script type="text/javascript" src="https://addevent.com/libs/atc/1.6.1/atc.min.js"asyncdefer></script><divtitle="Add to Calendar" class="addeventatc">
Add to Calendar
<span class="start">05/30/2017 16:00</span>
<span class="end">05/30/2017 18:00</span>
<span class="timezone">America/Caracas</span>
<span class="title">Summary of the event</span>
<span class="description">Description of the event</span>
<span class="location">Location of the event</span>
<span class="date_format">MM/DD/YYYY</span>
<span class="client">apjeYlqFLzfsSVnNdmRH28418</span>
</div>
According to the This tutorial page
I would like to send the "Add To Calendar" button using PHPMailer
I just could not add javascript to the message
Even setting the line
$mail->IsHTML(true);