Binary package “libphp-phpmailer” in ubuntu trusty

full featured email transfer class for PHP

 Many PHP developers utilize email in their code. The only PHP function
 that supports this is the mail() function. However, it does not expose
 any of the popular features that many email clients use nowadays like
 HTML-based emails and attachments. There are two proprietary
 development tools out there that have all the functionality built into
 easy to use classes: AspEmail(tm) and AspMail. Both of these
 programs are COM components only available on Windows.
 .
 PhpMailer implements the same methods (object calls) that the Windows-based
 components do.
 .
 Class Features:
  - Send emails with multiple TOs, CCs, BCCs and REPLY-TOs
  - Redundant SMTP servers
  - Multipart/alternative emails for mail clients that do not read HTML email
  - Support for 8bit, base64, binary, and quoted-printable encoding
  - Uses the same methods as the very popular AspEmail active server (COM)
    component
  - SMTP authentication
  - Native language support
  - Word wrap