Registry / networking / phpmailer-phpmailer

phpmailer-phpmailer

JSON →
library7.0.2phppackagistunverified

PHPMailer is a full-featured email creation and transfer class for PHP.

composer require phpmailer/phpmailer
INSTALL
IMPORT
SIG · PHPMAILER-PHPMAILE
P
phpmailer-phpmailer
networkingphpv7.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PHPMailer
use PHPMailer\PHPMailer\PHPMailer;

Sends a simple email using PHPMailer.

use PHPMailer\PHPMailer\PHPMailer; $mail = new PHPMailer(); $mail->setFrom('from@example.com', 'Mailer'); $mail->addAddress('to@example.com'); $mail->Subject = 'Test'; $mail->Body = 'This is a test email.'; $mail->send();
Debug
Known issues
breakingPHPMailer requires PHP 5.5 or later; older versions may have security issues.
fix
Upgrade to PHP 7.0+ and use the latest PHPMailer version.
affects: < 6.0
Upgrade
Version history
7.0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
phpmailer-phpmailer — pip install phpmailer-phpmailer · libregistry