emailjs-com/emailjs-sdk

IE11 Support

satoshionoda opened this issue · 2 comments

Hi there,

Version 3.x causes runtime error with IE11 probably because of the transpiler settings.
Is it possible to make the SDK compatible with IE11?

@satoshionoda Hi,
SDK version 3 is a pure ES module that you can integrate into your package. IE11 and other versions can be added by your compiler (for example, webpack).
You can also use the browser script version that supports IE.
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/emailjs-com@3/dist/email.min.js"></script>

@xr0master

Ok, I'll look into my transpiler's configuration.

Meantime, the browser script version actually does not work with IE 11 as it uses a lot of arrow functions.
Could you check out this?