0.0.4 • Published 3 months ago

@webbio/strapi-provider-aws-ses-email v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

strapi-plugin-aws-ses-email-provider

This provider makes it possible to add AWS SES as an email provider for Strapi. No credentials have to be used on AWS environments as they live on the same infrastructure as AWS SES. For development you can use the SSO method (recommended), or manual keys. See Webbio Gitbook (AWS Authentication) for more info.

If you want to use a manual configuration: use your own accessKeyId and secretAccessKey as credentials. They can be viewed when logging into your account under Command line or programmatic access

Implementation

config/plugins.ts

module.exports = ({ env }) => ({
	// ...
	email: {
		config: {
			provider: 'strapi-plugin-aws-ses-email-provider',
			// Only use providerOptions if you're not using manual SSO. Otherwise these can be left out.
			providerOptions: {
				region: env('AWS_SES_REGION'),
				credentials: {
					// Dev only
					accessKeyId: env('AWS_SES_KEY_ID'),
					// Dev only
					secretAccessKey: env('AWS_SES_SECRET_ACCESS_KEY'),
					// Dev only
					sessionToken: env('AWS_SES_SESSION_TOKEN')
				}
			},
			settings: {
				defaultFrom: 'email@domain.com',
				defaultReplyTo: 'email@domain.com'
			}
		}
	}
	// ...
});
0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago