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.

+2


a source to share


1 answer


http://swiftmailer.org/ seems to be the most popular PHP OO solution currently



+3


a source







All Articles