Repository navigation
Replies: 5 comments 2 replies
|
Easy email sending in pure JavaScript is not possible as JavaScript runs in a user's browser and does not have the capability to send emails directly. However, you can use JavaScript to send emails through a third-party email service that provides an API. One such popular email service is SendGrid, which offers an API that allows you to send emails programmatically. Here's an example of how you can use SendGrid's API to send an email using JavaScript: `const sgMail = require('@sendgrid/mail'); const msg = { sgMail.send(msg) |
|
First, you need to include the EasyEmail library in your HTML file // Send the email |
|
I don't want to send emails, just use it as a tool. |
|
Now its working well after some experiments. |
|
@applibs can you share the pure javascript code here as i have a similar use case and considering this as a email editor, currently using CKEditor it works but not really happy with the formatting capabilities, considering to use this as the editor to retrieve the html |
Uh oh!
There was an error while loading. Please reload this page.
Could someone please show how to use easy email in pure Javascript?
I've tried some tests, but nothing works.
All reactions