Skip to content

E_MISSING_CONFIG: ses is not defined #37

@danielsalles

Description

@danielsalles

I found it difficult to understand how to use SES with this package. I don't know if I'm doing it correctly, because the documentation was not very specific with this driver.

Package version

"@adonisjs/mail": "^3.0.9",

Node.js and npm version

Node 12

Sample Code (to reproduce the issue)

.env
MAIL_CONNECTION=ses

  await Mail.send(
    'emails.welcome',
    { user: user.toJSON(), tokenQueryString },
     (message) => {
       message
        .to(user.email)
        .from('noreply@')
        .subject('Ative sua conta')
     })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions