I've 535 Incorrect authentication Error while using Nuxt Mail Module, only when I try to send an email on the deployed site ( on the server) I get the error
When I try to send an email from localhost It works fine, but when I deploy it to the server I'll get that error
The only difference is deployed site is over HTTPS, I don't know exactly what happened that I get this error but I hadn't this problem a week ago even on the deployed version These are my nuxt-configs for email:
modules: [
['nuxt-mail', {
message: [
{name:'ticket',to: 'webticket@site.com'},
{name:'contact',to: 'contactus@site.com'}
],
smtp: {
host: "mail.site.com",
port: 587,
auth: {
user: 'webticket@site.com',
pass: 'Aa123456'
},
secure: false,
tls: {rejectUnauthorized: false},
},
}],
],