@techie04/xpresser-mailer
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "@techie04/xpresser-mailer", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Mailer Plugin for xpresser", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@aws-sdk/client-ses": "^3.36.1", | ||
"@aws-sdk/client-ses": "^3.41.0", | ||
"@types/nodemailer": "^6.4.4", | ||
@@ -23,0 +23,0 @@ "@xpresser/env": "^1.1.0", |
@@ -32,3 +32,5 @@ "use strict"; | ||
}, | ||
sendMail({ mail, client }) { | ||
sendMail({ mail, client, config }) { | ||
if (!mail.from) | ||
mail.from = config.get("fromEmail"); | ||
return client.sendMail(mail); | ||
@@ -35,0 +37,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29096
488