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-12-20 02:52:39 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.