开发者

What is the simplest way (or simplest library) to create a truly secure php mail() function?

开发者 https://www.devze.com 2022-12-29 16:25 出处:网络
The mail() function is bad, because it is so permissive with headers that yo开发者_StackOverflow中文版u pretty much can\'t use it with any user input without subjecting yourself or others to spam.So w

The mail() function is bad, because it is so permissive with headers that yo开发者_StackOverflow中文版u pretty much can't use it with any user input without subjecting yourself or others to spam. So what is the simplest substitute that can still ensure that it's use is secure?

Ideally something that can be included in an external file.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消