Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
pronto-email-service
Advanced tools
For sending emails. Currently supports AWS SES and SendGrid.
For sending emails. Currently supports AWS SES and SendGrid.
Exposes a single method sendEmail(email, cb)
.
Email fields are defined in the MailComposer documentation, most importantly you will need to
and from
addresses, a subject
, and a text
and/or html
body.
email = {
"to": "Test Jones <test@jones.net>",
"from": "Example Sender <sender@example.com>",
"subject": "Hi I am an email",
"html": "<h1>HELLO</h1><p>Just testing, carry on now.</p>"
}
Initialize the email service with a config
object, declaring and configuring one of the available providers.
ProntoEmailService = require 'pronto-email-service'
{sendEmail} = ProntoEmailService(config)
Note: Region and access keys may be defined by environment variables (e.g. for a Lambda service).
config = {
"provider": "ses",
"region": "us-east-1",
"accessKeyId": "abc123",
"secretAccessKey": "def456"
}
config = {
"provider": "sendgrid",
"api_key": "def456"
}
FAQs
For sending emails. Currently supports AWS SES and SendGrid.
The npm package pronto-email-service receives a total of 0 weekly downloads. As such, pronto-email-service popularity was classified as not popular.
We found that pronto-email-service demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.