I'm trying to use a custom SMTP server, but runnin...
# support-questions-legacy
g
I'm trying to use a custom SMTP server, but running into some problems. I've tried Mandrill and Mailgun, each with and without
secure: true
. With
secure: true
, I get this for both services:
Copy code
- error [Error: 001ED0FC01000000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:355:
 ] {
   library: 'SSL routines',
   reason: 'wrong version number',
   code: 'ESOCKET',
   command: 'CONN',
   page: '/api/auth/[[...path]]'
 }
Without
secure: true
, email sending fails without an error message for Mandrill, and for Mailgun I see this error:
Copy code
- error Error: Mail command failed: 501 Invalid command or cannot parse from address
[...]
   code: 'EENVELOPE',
   response: '501 Invalid command or cannot parse from address',
   responseCode: 501,
   command: 'MAIL FROM',
   page: '/api/auth/[[...path]]'
 }
I've verified that I can send via SMTP via our servers with https://www.gmass.co/smtp-test
7 Views