more fixes for mail
This commit is contained in:
@@ -142,15 +142,17 @@ const config = ({ env }: Core.Config.Shared.ConfigParams): Core.Config.Plugin =>
|
|||||||
config: {
|
config: {
|
||||||
provider: "@strapi/provider-email-nodemailer",
|
provider: "@strapi/provider-email-nodemailer",
|
||||||
providerOptions: {
|
providerOptions: {
|
||||||
host: env("SMTP_HOST", "smtp.office365.com"),
|
host: env("SMTP_HOST", "mail.sharper.ly"),
|
||||||
port: env("SMTP_PORT", 587),
|
port: env("SMTP_PORT", 587),
|
||||||
|
secure: true,
|
||||||
auth: {
|
auth: {
|
||||||
user: env("SMTP_USERNAME"),
|
user: env("SMTP_USERNAME"),
|
||||||
pass: env("SMTP_PASSWORD"),
|
pass: env("SMTP_PASSWORD"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
defaultFrom: "contact@moonladder.net",
|
defaultFrom: "SHARP-ER <noreply@sharper.ly>",
|
||||||
|
defaultReplyTo: "United Efforts <info@unitedefforts.ngo>"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user