emailjs-com / emailjs-sdk

EmailJS helps sending emails using client side technologies only. No server is required.
https://www.emailjs.com
BSD 3-Clause "New" or "Revised" License
112 stars 11 forks source link

Apostrophe not being escaped on the `From Name` #21

Closed lucasfrey closed 3 years ago

lucasfrey commented 3 years ago

Hi,

I am trying to use the emailjs-sdk v2.6.4 and setting up the From Name via a viariable with a name like John's Guam is just giving me s Guam.

I can conclude that the apostrophe is killing the string, wonder if that my be prone to security issue as well.

Anyway can someone look into this ? in the mean time I can just rename my clients From Email to "Johns Guam".

Here is a screenshot of my Gmail inbox after sending the message:

image

sekoia-web commented 3 years ago

NEXT.JS

Server Error

SyntaxError: Cannot use import statement outside a module
module.exports = require("emailjs-com");;
lucasfrey commented 3 years ago

NEXT.JS

Server Error

SyntaxError: Cannot use import statement outside a module
module.exports = require("emailjs-com");;

Can you explain what do you mean by that ?

xr0master commented 3 years ago

@lucasfrey please contact the Support from the dashboard. Only SDK issues are discussed here. @sekoia-web https://github.com/emailjs-com/emailjs-sdk/issues/20