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
------------------------------------------------------------------------