dogodigi / opendispatcher

First responder HTML5 nodejs client application
http://www.opendispatcher.org
GNU General Public License v3.0
2 stars 8 forks source link

nodemailer behind https #436

Closed milovanderlinden closed 9 years ago

milovanderlinden commented 9 years ago

When nodemailer is used in a https environment and the certificates are not shared between te site and the mailserver and certificates are not signed;

config.json 

needs to be adjusted

"support": {
        "sendto": "support@somehost.cw",
        "from": "support@somehost.cw",
        "ccsender": true,
        "smtp":{
            "host": "127.0.0.1",
            "secureConnection": false,
            "port": 25,
            "tls": {
              "rejectUnauthorized": false
            }
        }
    }