PHP has a built-in function called mail() that allows you to send email. The advantage of mail() is that it’s very easy to use. The disadvantage is that it’s also very easy to use improperly, and allow spammers to send rafts of email through your site.
Because of this, there’ve been many wrappers and libraries written to help prevent that abuse. Most CMSs have their own built in methods, we’re going to take a look at WordPress’ in this post.
[[ This is a content summary only. Visit
http://OSTraining.com for full links, other content, and more! ]]
Published on January 13, 2015 08:26