SMTP using nodemailer in nodejs without GMail
The service
option is only for well-known services. To specify your own host, set host.
var smtpTransport = nodemailer.createTransport('SMTP', {
host: 'yourserver.com',
port: 25,
auth: {
user: 'username',
pass: 'password'
}
});