Author: Robert Sample
Subject: Reply to: EMAIL using IEBGENER - SMTP
Posted: Tue May 23, 2017 12:37 am (GMT 5.5)
Read RFC 2821 to find out the details of what you can -- and cannot -- do in SMTP. Specifically, if you want someone to receive the email, you MUST include them in the RCPT TO: addresses. Anything after the DATA is considered part of the email itself, so merely putting CC: like you did means the email client may interpret that as indicating a CC was done, but without the RCPT TO: there was no copy sent to that person. This is listed in Appendix B.1 on page 70 of the RFC.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth
Subject: Reply to: EMAIL using IEBGENER - SMTP
Posted: Tue May 23, 2017 12:37 am (GMT 5.5)
Read RFC 2821 to find out the details of what you can -- and cannot -- do in SMTP. Specifically, if you want someone to receive the email, you MUST include them in the RCPT TO: addresses. Anything after the DATA is considered part of the email itself, so merely putting CC: like you did means the email client may interpret that as indicating a CC was done, but without the RCPT TO: there was no copy sent to that person. This is listed in Appendix B.1 on page 70 of the RFC.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth