parse-server-simple-ses-adapter

1.1.1 • Public • Published

parse-server-simple-ses-adapter

Used to send Parse Server password reset and email verification emails though Amazon SES

Parse Server Simple SES Email Adapter

With this adapter you can send email for reset password and email verification in parse with AWS SES access.

Use

In the configuration of your parse server you must pass parse-server-simple-ses-adapter as an email adapter.

This is an example parse server config:

// Parse Server Config
var api = new ParseServer({
    appName: 'My SES App',                                  // Required for email
    databaseURI:  DATABASE_URI,
    cloud: CLOUD_CODE_MAIN,
    appId: APP_ID,
    masterKey: MASTER_KEY,
    fileKey: FILE_KEY,
    serverURL: SERVER_URL,
    publicServerURL: SERVER_URL,                            // Required for email
    allowClientClassCreation: false,
    verbose: false,
    emailAdapter: {
        module: 'parse-server-simple-ses-adapter',
        options: {
            fromAddress: 'no-reply@aVerifiedDomain.com',
            apiKey: SES_ACCESS_KEY,                         // SES API Key
            apiSecret: SES_SECRET_KEY,                      // SES API Secret
            domain: 'aVerifiedDomain.com',                  // A verified domain in SES
            amazon: 'https://email.us-east-1.amazonaws.com',// OPTIONAL: Defaults to us-east-1
            format: 'html'                                  // OPTIONAL: 'html' (default) or 'text'
        }
    }
});

...

Contributing

This module is pull request friendly in the develop branch feel free of send new features or bug fixes.

If you find a bug please open an issue.

Package Sidebar

Install

npm i parse-server-simple-ses-adapter

Weekly Downloads

24

Version

1.1.1

License

BSD-3-Clause

Unpacked Size

4.58 kB

Total Files

4

Last publish

Collaborators

  • ericraio