What's the easiest way (or simple library) to create a truly secure php mail () function?
The mail () function is bad because it is so solvable that you cannot use it with any user without exposing yourself or others to spam. So what is the simplest replacement that can still ensure that it is safe?
Ideally, something that can be included in an external file.