rambomst/php-bounce-handler

Parses email bounce notifications and turns them into associative arrays and returns header information with bounce statuses

1.6 2018-02-11 21:04 UTC

This package is not auto-updated.

Last update: 2024-11-22 02:29:34 UTC


README

Usage

Parse Email

use rambomst\PHPBounceHandler\BounceHandler

$bounce_handler = new BounceHandler();
$parsed_bounce_email = $bounce_handler->parseEmail($email);

Search For Custom Header

$custom_header = $bounce_handler->findXHeader('X-Custom-Identifier')

License

This library is under BSD License.