ID:               30688
 Comment by:       info at todoo dot com
 Reported By:      sirber at gmail dot com
 Status:           Open
 Bug Type:         Mail related
 Operating System: Gentoo Linux 2.6.9
 PHP Version:      4.3.9
 New Comment:

There is no workaround.
imap_mail simply take the rpath and put it in from-header.
Its impossible for me to get error information back.


Previous Comments:
------------------------------------------------------------------------

[2004-11-04 18:13:04] sirber at gmail dot com

Description:
------------
Using imap_mail, and using the rpath setting, the mail I set is not
used.

Thanks

Stéphane Bérubé

SW:

PHP 4.3.9
* Runs on "apache" user
Exim 4.42
* /usr/sbin/exim -bd -q15m
* Runs on "mail" user
* Special config:
trusted_users = apache

Reproduce code:
---------------
$to = "[EMAIL PROTECTED]";
$sujet = "test";
$mime = "[headers and mime encoded message]";
$cc = "";
$cci = "";
$from = "[EMAIL PROTECTED]";

function imap_send ($to, $sujet, $mime, $cc, $cci, $from)
        {
                imap_mail ($to, $sujet, "", $mime, $cc, $cci, $from);
        }

Expected result:
----------------
Return-path: <[EMAIL PROTECTED]>

Actual result:
--------------
Return-path: <[EMAIL PROTECTED]>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30688&edit=1

Reply via email to