Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Commit

Permalink
Bug parsing DSN fields
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Aug 12, 2013
1 parent 6aa6ef9 commit 23dc727
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions class.cws.mbh.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @author Cr@zy
* @copyright 2013, Cr@zy
* @license GPL licensed
* @version 1.1
* @version 1.2
* @link https://github.com/crazy-max/CwsMailBounceHandler
*
*/
Expand Down Expand Up @@ -81,7 +81,7 @@ class CwsMailBounceHandler
* CwsMailBounceHandler version.
* @var string
*/
public $version = "1.1";
public $version = "1.2";

/**
* Mail host server.
Expand Down Expand Up @@ -1395,7 +1395,11 @@ private function parseBodySectionMachine($body_section_machine)
*/
private function parseDsnFields($body_section_machine)
{
$result = array();
$result = array(
'mime_header' => null,
'per_message' => null,
'per_recipient' => null,
);
$dsn_fields = explode("\r\n\r\n", $body_section_machine);

$j = 0;
Expand Down

0 comments on commit 23dc727

Please sign in to comment.