Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am totally confused. Who uses an SMTP server written in PHP? mail() just writes a bit of stuff into a mail queue by default.


People set their PHP config to connect to a remote SMTP server rather than a local queue.

It isn't something you can control in the code.


Thanks, I understand. Configuring PHP that way would be an unmitigated disaster. If you want that functionality, it makes the most sense to configure Exim or whatever to do that for you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: