Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Sending email #35

Closed
joanneperez opened this issue Aug 23, 2018 · 2 comments
Closed

Sending email #35

joanneperez opened this issue Aug 23, 2018 · 2 comments

Comments

@joanneperez
Copy link

Hi,

How do you send email? I tried to set the email and password but it still gets an error. No particular error message, just "Something went wrong"

image

@attilabuti
Copy link
Owner

Hello @joanneperez

Nodemailer configuration

Please see the Nodemailer documentation for more information.

Gmail

"mjml.nodemailer": {
    "service": "Gmail",
    "auth": {
        "user": "youremail@gmail.com",
        "pass": "password"
    }
}

Mailtrap

"mjml.nodemailer": {
    "host": "smtp.mailtrap.io",
    "port": 2525,
    "auth": {
        "user": "username",
        "pass": "password"
    }
}

Ethereal

"mjml.nodemailer": {
    "host": "smtp.ethereal.email",
    "port": 587,
    "auth": {
        "user": "youremail@ethereal.email",
        "pass": "password"
    }
}

@attilabuti
Copy link
Owner

1.5.0 Added ability to show more useful information on error in sending the email.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants