Add new SMTP provider to config/plugins
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
module.exports = ({env}) => ({
|
||||||
|
email: {
|
||||||
|
provider: 'nodemailer',
|
||||||
|
providerOptions: {
|
||||||
|
host: env('SMTP_HOST', 'smtp.example.com'),
|
||||||
|
port: env('SMTP_PORT', 587),
|
||||||
|
auth: {
|
||||||
|
user: env('SMTP_USERNAME'),
|
||||||
|
pass: env('SMTP_PASSWORD'),
|
||||||
|
}
|
||||||
|
},
|
||||||
|
settings: {
|
||||||
|
defaultFrom: env('SMTP_FROM'),
|
||||||
|
defaultReplyTo: env('SMTP_REPLY_TO'),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user