News for hackers. Stuff that matters.
Re:Send Mail using SMTP and PHP. by jrockway on Monday October 12, 2009 @09:53AM (#876692)
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.

There are no comments on this comment yet.