PHPMailer is a full-featured email creation and transfer class for PHP. Many PHP developers need to send email from their code. The only PHP function that supports this directly is mail(). However, it does not provide any assistance for making use of popular features such as encryption, authentication, HTML messages, and attachments. PHPMailer's integrated SMTP client allows email sending on all platforms without needing a local mail server.