top of page

Sending an email using the SendGrid NPM library requires the installation of the NPM library from the editor, and uses a backend web module to call the installed NPM library.

​

To use this example you are required to register with SendGrid, and issue an API Key with permission to send emails. Paste the API Key in the sendEmail.jsw file in the Backend section.

​

When clicking the Send Email button, the sendEmail web method (exported from the sendEmail web module, located in the Backend folder) is called. The sendEmail module invokes the sgMail module from the Sendgrid NPM library to send the email.

To Email:

From Email:

Subject:

Email:

Send Email
bottom of page