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) |
Beta Was this translation helpful? Give feedback.
-
|
First, you need to include the EasyEmail library in your HTML file // Send the email |
Beta Was this translation helpful? Give feedback.
-
|
I don't want to send emails, just use it as a tool. |
Beta Was this translation helpful? Give feedback.
-
|
Now its working well after some experiments. |
Beta Was this translation helpful? Give feedback.
-
|
@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 |
Beta Was this translation helpful? Give feedback.
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.
Beta Was this translation helpful? Give feedback.
All reactions