The general opinion when it comes to sending email messages in PHP is to stay clear of PHP's built-in mail()
function and to use a library instead.
What I want to know are the actual reasons and flaws in using mail()
over a library or extension. For example, the commonly specified headers that aren't included in a standard mail()
call.