1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 20:31:41 +02:00

Added constant for mail-id header.

This commit is contained in:
Cameron
2014-10-23 04:35:42 -07:00
parent 8ec1569a4f
commit 0d4e4201e0
4 changed files with 14 additions and 5 deletions

View File

@@ -44,8 +44,8 @@ class e107Bounce
$head = BounceHandler::parse_head($strEmail);
$message = null;
$e107_userid = (isset($head['X-e107-id'])) ? $head['X-e107-id'] : $this->getHeader($strEmail,'X-e107-id');
$identifier = deftrue('MAIL_IDENTIFIER', 'X-e107-id');
$e107_userid = (isset($head[$identifier])) ? $head[$identifier] : $this->getHeader($strEmail, $identifier);
if($_E107['debug'])
{
@@ -97,7 +97,7 @@ class e107Bounce
foreach($multiArray as $the)
{
$the['user_id'] = $head['X-e107-id'];
$the['user_id'] = $head[$identifier];
$the['user_email'] = $the['recipient'];
unset($the['recipient']);