SMTP to SMTP protocol

SMTP works as a three-step process, using a client/server model. First, an e-mail server uses SMTP to send a message from an e-mail client, such as Outlook or Gmail, to an e-mail server. Second, the e-mail server uses SMTP as a relay service to send the e-mail to the receiving e-mail server.

SMTP to SMTP protocol

I am trying to write a fake SMTP server in nodejs, I just need use it to send notify email, but not receive email.

I have taken a look at node-smtp, but it just implements the protocol from client to SMTP server, it does not implement how to send mail from a SMTP server to another SMTP server.

If I know how one SMTP server send mail to another SMTP server, I think I can send mail without a SMTP server.

but it just implements the protocol from client to SMTP server, it does not implement how to send mail from a SMTP server to another SMTP server.

An SMTP server that can send mail also acts as an SMTP client. Not that you're trying to write an SMTP server anyway:

I just need use it to send notify email, but not receive email.

I just need to write an SMTP client


Click Here to Visit

What's Your Reaction?

like
0
dislike
0
love
0
funny
0
angry
0
sad
0
wow
0