#30688 [Opn]: imap_mail's rpath don't work

2004-12-27 Thread sirber at gmail dot com
 ID:   30688
 User updated by:  sirber at gmail 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:

The only "workaround" is to use SMTP with sockets directly.


Previous Comments:


[2004-12-27 18:03:50] info at todoo dot com

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.



[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


#30688 [NEW]: imap_mail's rpath don't work

2004-11-04 Thread sirber at gmail dot com
From: sirber at gmail dot com
Operating system: Gentoo Linux 2.6.9
PHP version:  4.3.9
PHP Bug Type: Mail related
Bug description:  imap_mail's rpath don't work

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 bug report at http://bugs.php.net/?id=30688&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30688&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30688&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30688&r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=30688&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=30688&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=30688&r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=30688&r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=30688&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30688&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=30688&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30688&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30688&r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=30688&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30688&r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=30688&r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=30688&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30688&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30688&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30688&r=mysqlcfg