Ubuntu/Linux or Node.js based method of sending emails -
i have internal network smtp server need go through send emails. i've gotten work nodemailer appears fail after greeting, "error" message below. it's responding 250, i'm not sure why it's not sending, wondering if knows of linux/ubuntu based library can use accomplish task via cli.
server responded 250-hostname hello [ip] 250-turn 250-size 250-etrn 250-pipelining 250-dsn 250-enhancedstatuscodes 250-8bitmime 250-binarymime 250-chunking 250-vrfy 250-x-exps gssapi ntlm login 250-x-exps=login 250-auth gssapi ntlm login 250-auth=login 250-x-link2state 250-xexch50 250 ok
um, that's not error. 250
status code means ok. have listed server's response ehlo
command. each line start 250
lists extended smtp feature server supports.
next step? if authorization required, send auth
command. if not, start mail transaction using mail
, from
, , data
.
i think before proceeding should take time read on basics of smtp. make more sense you.
Comments
Post a Comment