sending email using nodemailer and godaddy email
starashu29
HOBBYOP

2 years ago

unable to send email using nodemailer and godaddy email when in production after deployment, while runinng fine on localhost

Solved

5 Replies

starashu29
HOBBYOP

2 years ago

Error: read ECONNRESET

Jun 29 17:56:32

at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {

Jun 29 17:56:32

errno: -104,

Jun 29 17:56:32

code: 'ESOCKET',

Jun 29 17:56:32

syscall: 'read',

Jun 29 17:56:32

command: 'CONN'

Jun 29 17:56:32

}

getting this error


jake
EMPLOYEE

2 years ago

We do not support SMTP port 22, so I don't suspect this will work


jake
EMPLOYEE

2 years ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.


starashu29
HOBBYOP

2 years ago

any solution in this regard, so that i could send emails via nodejs server using godaddy email? nodemailer on localhost is working fine and sending emails, but when deployed here on railway, its showing error.


ray-chen
EMPLOYEE

2 years ago

You're likely using SMTP transport, which we do not support right now. Mail sending over SMTP relies on ports that we block as they're a huge abuse vector for mail spamming.

Check out email services such as Postmark.


Status changed to Solved Railway over 1 year ago


Loading...