Now Emails Save

Easily deploy an email delivery service to now.

Project README

Now Emails

Instantly deploy an email delivery API to now.

Deployment

now -e [email protected] -e AUTH_PASSWORD=supersecret tylersnyder/now-emails

By default, the API will use Gmail as the service provider. To use a different provider, specify a SERVICE_PROVIDER:

now -e SERVICE_PROVIDER=Hotmail -e [email protected] -e AUTH_PASSWORD=supersecret tylersnyder/now-emails

To learn more about supported service providers, read more at nodemailer.com

Usage

Emails can be sent by making a POST request to your service. The body of this request should include:

{
  "to": "[email protected]",
  "subject": "sending emails",
  "text": "hello world!",
  "html": "hello <b>world</b>!",
  "from": "Myself <[email protected]>" // optional
}

You can specify text, html, or both. The from address is optional, but keep in mind Gmail does not allow you to overwrite the sender adress. Gmail will however use the display name, in this case Myself.

Open Source Agenda is not affiliated with "Now Emails" Project. README Source: tylersnyder/now-emails
Stars
45
Open Issues
3
Last Commit
1 year ago

Open Source Agenda Badge

Open Source Agenda Rating