Registry / messaging / pear-mail-mime

pear-mail-mime

JSON →
library1.10.12phppackagistunverified

Mail_Mime provides classes to create MIME messages.

composer require pear/mail_mime
INSTALL
IMPORT
SIG · PEAR-MAIL-MIME
P
pear-mail-mime
messagingphpv1.10.12
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.

Mime
use Mail\Mime;

Creates a simple MIME message with a text body.

use Mail\Mime; $mime = new Mime(); $mime->setTXTBody('Hello World'); $body = $mime->get(); $headers = $mime->headers(['From' => 'test@example.com', 'Subject' => 'Test']);
Debug
Known issues
gotchaRequires PEAR Mail package for sending; Mail_Mime only creates MIME parts.
fix
Install pear/mail and use Mail::factory() to send.
affects: *
Upgrade
Version history
1.10.12latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
pear-mail-mime — pip install pear-mail-mime · libregistry