sending email using nodemailer and godaddy email

starashu29HOBBY

10 months ago

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

Solved

5 Replies

starashu29HOBBY

10 months 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


10 months ago

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


10 months 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.


starashu29HOBBY

10 months 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.


10 months 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[bot] 10 months ago