I'm trying to integrate nodemailer and IBM Watson together. The issue is that the function works on the cloud functions, but when I integrate it with IBM Conversation, it gives me this error:
Error Code:
{"code":500,"msg":"Error","reason":{"code":"EENVELOPE","command":"API"}}
This is the config:
let smtpConfig = {
host: 'smtp.gmail.com',
port: '587',
auth: {
user: '****',
pass: '****'
},
secureConnection: 'false',
tls: {
ciphers: 'SSLv3',
rejectUnauthorized: false
}
};
- I have turned off 'Less secure app access', which still doesn't work.
Any idea what the error code means?