Consultation nodemailer nodejs


I'm trying to send a message on a network with an active proxy ip proxy: 3128

I configure my options on nodemailer

var smtpConfig = {
    host: '',
    port: 465,
      auth: {
        pass: mailconfig.password
    //proxy config 
    // assumes a HTTP proxy running on port 3128 
    proxy: ''

var smtptransport=nodemailer.createTransport(smtpConfig);

But I get the following error:


Invalid response from proxy 403

I already checked everything, and I do not know what the error might be.

asked by Kevin AB 27.09.2016 в 00:25

1 answer


The status code 403 indicates that the Proxy request requires authentication. The example code does not show that you pass credentials in the proxy details. This must be the problem

answered by 28.09.2016 в 20:03