I need to have a button in my outlook message that displays an image (inside the message itself) when clicked. I tried to put a HTML with Javascript handling onclick event, but scripts wont work inside outlook emails. What can I do to get it done?
Thanks
JavaScript does not run in emails, it would be a security risk (and an annoyance). You are actually very restricted on most clients, when I was styling a newsletter for a client I had to resort to table layouts.
The best you can do is put a link in the email which will redirect the user to a web page.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.