Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including parse-server-simple-ses-adapter with all npm packages installed. Try it out:

var parseServerSimpleSesAdapter = require("parse-server-simple-ses-adapter")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

parse-server-simple-ses-adapter v1.0.6

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

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
        }
    }
});

...

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.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free