EmailJS - Send email directly from Javascript. No server code needed.

EmailJS helps to send emails using client-side technologies only. No server is required – just connect EmailJS to one of the supported email services, create an email template, and use our Javascript SDK to trigger an email.

Add a comment

Replies

Best
How do you stop people abusing the API to send malicious e-mails?
it relies on one's email provider so I guess they have their own system?
Indeed, someone could copy your code, but they will only be able to send YOUR templates, with your content, and will not be able to send a custom email with their own content (spam). A better way to think of EmailJS is not as a service that allows to send email, but rather as a service that allows triggering pre-built emails from the client side - similar to the way services like Intercom work. In any case, you can set the origin whitelist.
Right, since we are an intermediary, the final recipient will also pass the spam filtering.
Every time you create a website, you wonder how to send a contact form by email? Or maybe a user’s canvas or an automatic payment notification? There are several services for sending emails, but they are either not flexible or not for the browser! We cannot just take and place passwords in the public domain. We need a server for which you must pay, and constantly worry about whether it will stop working. That’s how EmailJS was born, which is easy to use and solves most security issues.
I've been using email JS to power email on my personal website for almost a year now! Great product :)
Thank you for being our customer!
Smart. We've been using two things; FormSpree and the sendMessage component of this one looks more granular. Will check it out.
Thanks! There are many ways, I will be very interested to know your opinion.
Congrats on the launch. Today with cloud functions available, the server side implementation is easy and secure. How do you persuade? Server side is taken care by you as an intermediary, is that right?
Thanks. At the primitive level, this is true, but what about the visual interface, templates, tracking changes in the API, auto-reply, history and much more. It is much easier and faster to connect EmailJS. IMO
Great to know the value adds. Thank you. Would EmailJS log or store email ids passing through? is the interaction with EmailJS encrypted?
At the discretion of the customer, but not more than 30 days (to resend unsuccessful email from the dashboard). The API runs over HTTPS, we can say that it is encrypted :)
Awesome solution 5 stars on my end. Thx for this
You are welcome! Thank YOU for this
can we use regular gmail keys ?
Hi, can you explain what you mean by regular Gmail keys?