Bug #20928 [Com]: Coding error in Mail2.php
| From: | fedibelkacem | Date: | Tue, 24 Nov 2015 10:50:46 +0000 |
| Subject: | Bug #20928 [Com]: Coding error in Mail2.php | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-11296@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=20928&edit=1
ID: 20928
Comment by: fedibelkacem
Reported By: f_belkacem at yahoo dot fr
Summary: Coding error in Mail2.php
Status: Open
Type: Bug
Package: Mail2
Operating System: Linux
Package Version: 0.1.0
PHP Version: 5.4.43
New Comment:
I tried this correction on Mac OS X El Capitan and CentOS 7.1 and it
resolves the bug :-)
There is the same correction on GitHub
(https://github.com/pear/Mail2/commit/4d9fb3a36989e4214aef29b7ffe68a95f7d4c837).
Previous Comments:
------------------------------------------------------------------------
[2015-07-30 18:20:26] gama1961
Description:
------------
Line 178 was include_once 'Mail/RFC822.php'; changed to include_once
'Mail2/RFC822.php';
Line 233 was include_once 'Mail/RFC822.php'; changed to include_once
'Mail2/RFC822.php';
Line 179 was $parser = new Mail_RFC822(); changed to $parser = new
Mail2_RFC822();
Line 244 was $Mail_RFC822 = new Mail_RFC822(); changed to
$Mail2_RFC822 = new Mail2_RFC822();
Line 245 was $addresses = $Mail_RFC822-
>parseAddressList($recipients, 'localhost', false); changed to
$addresses
= $Mail2_RFC822->parseAddressList($recipients, 'localhost', false);
Test script:
---------------
N/A
Expected result:
----------------
N/A
Actual result:
--------------
N/A
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=20928&edit=1