orliesaurus/nodemailer-mailgun-transport

Changing port

Opened this issue · 1 comments

Google only allows connection on port 2525.

I've been looking to change the port to no success. How does one change the port to fit this use case?

Great question!
Did you try pass the port in the config object called "auth"

var auth = {
  auth: {
    api_key: 'key-1234123412341234',
    domain: 'one of your domain names listed at your https://mailgun.com/app/domains',
    port: 2525
  }
}