The issue resides when trying to get incoming emails from the server side. I simply get the error message Invalid greeting from server. Any help would be appreciated.
const mailTransportTwo = nodemailer.createTransport({
host: "outlook.office365.com",
secure: true,
port: 993,
ssl: {
ciphers: 'SSLv3'
},
auth: {
user: '******************.com',
pass: '******'
}
});