Last active
August 29, 2015 14:03
-
-
Save nestoru/04e86119b80ec501a31d to your computer and use it in GitHub Desktop.
SMTP: RCPT To: command verb versus to: header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WHEN "RCPT TO:" = "TO:" (to: <me@sample.com>) | |
MAIL FROM:me@sample.com | |
250 2.1.0 Sender OK | |
RCPT TO:me@sample.com | |
250 2.1.5 Recipient OK | |
DATA | |
354 Start mail input; end with <CRLF>.<CRLF> | |
subject:Using RCPT TO: = to: | |
to: me@sample.com | |
# WHEN "RCPT TO:" != "TO:" (to: <who@et.com>) | |
MAIL FROM:me@sample.com | |
250 2.1.0 Sender OK | |
RCPT TO:me@sample.com | |
250 2.1.5 Recipient OK | |
DATA | |
354 Start mail input; end with <CRLF>.<CRLF> | |
subject:Using RCPT TO: != to: | |
to: who@et.com | |
# WHEN "TO:" IS NOT USED (to: Undisclosed recipients:;) | |
MAIL FROM:me@sample.com | |
250 2.1.0 Sender OK | |
RCPT TO:me@sample.com | |
250 2.1.5 Recipient OK | |
DATA | |
354 Start mail input; end with <CRLF>.<CRLF> | |
subject:Using no to: | |
. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment