-
-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
Type: InvalidDoesn't really belong here. Maybe use discussion threads?Doesn't really belong here. Maybe use discussion threads?
Description
I found it difficult to understand how to use SES with this package. I am getting "MODULE_NOT_FOUND" error
Package version
"@adonisjs/mail": "^4.1.1",
Node.js and npm version
Node 14.5.0
Sample Code (to reproduce the issue)
Mail.send(message => {
message
.to(data.email)
.from('esmartpk@gmail.com')
.htmlView('registration_confirmation_email.edge', {
token: user.confirmation_token,
userName: user.name,
appURL: Env.get('APP_URL', 'localhost:3333'),
})
})
I am using following Config file
ses: {
driver: 'ses',
apiVersion: '2010-12-01',
key: Env.get('SES_ACCESS_KEY') as string,
secret: Env.get('SES_ACCESS_SECRET') as string,
region: Env.get('SES_REGION') as string,
sslEnabled: true,
sendingRate: 10,
maxConnections: 5,
},
Metadata
Metadata
Assignees
Labels
Type: InvalidDoesn't really belong here. Maybe use discussion threads?Doesn't really belong here. Maybe use discussion threads?