PHPMailer overview

 

Overview

PHPMailer is a PHP library for creating and sending emails via SMTP, with support for attachments, HTML formatting, and server-side validation. You can install it on a DreamHost shared or VPS/Dedicated server.

Background

PHPMailer is a powerful library for creating and sending emails via SMTP in PHP. It supports a range of features like attachments, HTML formatting, and server-side validation. For more details, visit PHPMailer’s GitHub page.

How do I install PHPMailer?

You can install PHPMailer on either a shared or VPS/Dedicated server.

Bulk email of any kind sent from a DreamHost account is subject to the DreamHost spam policy which is part of the terms of service. Please read those pages along with SMTP quota to ensure you’re not in violation of any of these policies.

How do I install PHPMailer on a shared server?

See this article for instructions on installing on a shared server.

How do I install PHPMailer on a VPS or Dedicated Server?

See this article for instructions on installing on a VPS or Dedicated Server using Composer.

How do I allow GMAIL to send from my mail application?

If you're using your GMAIL address to send via SMTP, you must first allow your application access to your GMAIL address. If you do not do this, your email will not authenticate or send. View this article for details.

See also

DreamHost links

Third-party links

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?