2 ms·
I like how the sending code totally ignores any response from the SMTP server. You have no idea if it even accepts EHLO, and you have no idea if your message i
by jrockway 17y ago
I like how the sending code totally ignores any response from the SMTP server. You have no idea if it even accepts EHLO, and you have no idea if your message is queued successfully.
I also hope you don't put data from the user into this class. If your email address contains ">\r\n" and some SMTP commands, your PHP script just became an open relay.