Open J0han3s opened 2 years ago
I've never tried to use the email function. Which provider are you using? I'll give it a go.
I just played around with this and got a spare Gmail account to work. The steps roughly go like so:
config.js
file on your mirror. That part of your module configuration should look like this:sendMail: {
transport: {
host: 'smtp.gmail.com',
port: 465,
secure: true,
auth: {
user: "[yourGmailAccountName]@gmail.com",
pass: "[generatedPasswordGoesHere]"
}
},
message: {
from: "[yourGmailAccount]@gmail.com",
to: "destinationEmail@company.com",
subject: "Mirror has given Dobbie a selfie!",
text: "New selfie has arrived."
}
}
I have tried two different email addresses, but cannot get it to send the email. Not sure which logs to provide? Nothing came up in the console of the chromium browser