[pkg-php-pear] Bug#1052238: Bug#1052238: php-net-smtp: Please, consider this email address

Jose L Fernandez Jambrina j.fdez.jambrina at upm.es
Sat Sep 23 20:26:14 BST 2023


I'm sorry,

My code and the example from 
https://pear.php.net/manual/en/package.mail.mail-mime.example.php, both 
use the statement:

$mail =Mail::factory('mail');

this statement forced the use of the mail driver based on the php 
intrinsic function mail() and is this function the one who has the bug I 
reported.

Changing this statement to:

$mail =Mail::factory('smtp');

the smtp driver based on php-net-smtp is used and its behavior is correct.


Conclusion: the php-net-smtp package works fine and the bug might be closed.

Thansk very much for your attention and I regret the inconveniences.


On 21/9/23 14:57, Guilhem Moulin wrote:
> On Thu, 21 Sep 2023 at 13:58:18 +0200, J.L. Fernandez Jambrina wrote:
>> Unfortunatelly I don't know how to use setDebug() to see what's is
>> being passed to send()
> Please see https://github.com/pear/Net_SMTP#debugging to debug Net_SMTP.
>
>> but I used two calls to var_dump() to see it:
> AFAICT this show what's being passed to Mail_Mime or Mail, not Net_SMTP.
> Net_SMTP treats data as as opaque string containing both the header and
> body parts, just like the SMTP protocol itself.
>



More information about the pkg-php-pear mailing list