We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using the @emailjs/browse (3.7.0) with react (17.0.2) + typescript (4.6.2).
@emailjs/browse
react
typescript
After I sent an email I'm receiving this error message:
The weird part is: the email is being sent! But my function is not returning either the response or error.
response
error
const msg = { firstName: values.firstName, email: values.email, message: values.text, subject: values.subject, };
export const SendEmail = (msg) => { emailjs .send( process.env.REACT_APP_SERVICE_ID, process.env.REACT_APP_TEMPLATE_ID, msg, process.env.REACT_APP_PUBLIC_KEY ) .then( (response) => { console.log(response); return response; }, (error) => { console.log(error); return error; } ); };
The text was updated successfully, but these errors were encountered:
@mauriciorj Hi, thank you for your report. We have released a new version with a fix. Your problem is most likely caused by a page reload.
Sorry, something went wrong.
No branches or pull requests
I'm using the
@emailjs/browse
(3.7.0) withreact
(17.0.2) +typescript
(4.6.2).After I sent an email I'm receiving this error message:
The weird part is: the email is being sent!
But my function is not returning either the
response
orerror
.const msg = { firstName: values.firstName, email: values.email, message: values.text, subject: values.subject, };
The text was updated successfully, but these errors were encountered: