Closed zulfi007 closed 4 years ago
I found it difficult to understand how to use SES with this package. I am getting "MODULE_NOT_FOUND" error
"@adonisjs/mail": "^4.1.1",
Node 14.5.0
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, },
Closing, since badly formatted and provides no information.
Formatted. Please reopen
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)
I am using following Config file