定制 mathsgod/mail-bounce-parser 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mathsgod/mail-bounce-parser

最新稳定版本:1.0.2

Composer 安装命令:

composer require mathsgod/mail-bounce-parser

包简介

README 文档

README

A PHP library for parsing email bounce messages and extracting delivery status notifications.

Features

  • Parse bounce emails in EML format
  • Extract delivery status information
  • Identify recipient addresses and bounce reasons
  • Support for standard DSN (Delivery Status Notification) format
  • Built on top of Laminas Mail component

Requirements

  • Composer

Installation

Install via Composer:

composer require mathsgod/mail-bounce-parser

Usage

Basic Example

<?php
require 'vendor/autoload.php';

// Load the bounce email content
$eml = file_get_contents('bounce.eml');

// Parse the bounce message
$report = \Mail\BounceParser::parse($eml);

// Display the parsed results
print_r($report);

Handling Results

The parser returns an array containing the delivery status information, including:

  • Recipient email addresses
  • Bounce status codes
  • Diagnostic messages
  • Action taken by the mail server
  • Original message details

License

This project is open source and available under the terms specified in the LICENSE file.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

If you encounter any issues or have questions, please open an issue on the GitHub repository.

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固