ID: 7068
Updated by: elixer
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Mail related
Assigned To:
Comments:
Try this as a work around:
mail("[EMAIL PROTECTED]",
"My Subject",
"My Body",
"To: \"Some User\" <[EMAIL PROTECTED]>\nFrom: me <[EMAIL PROTECTED]>"
);
Sean
Previous Comments:
---------------------------------------------------------------------------
[2001-01-12 07:55:55] [EMAIL PROTECTED]
confirmed on NT 5 / Apache / CGI from today's CVS.
mail( '"CYNIC" <[EMAIL PROTECTED]>' , 'subject' , 'body body body' ) ;
(it doesn't matter whether the name is quoted or not)
result:
-------
Hi. This is the qmail-send program at php.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<CYNIC <[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below this line is a copy of the message.
Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 28535 invoked from network); 12 Jan 2001 12:53:15 -0000
Received: from unknown (HELO k0r3.reflektor.cz) (212.24.129.44)
by www.php.net with SMTP; 12 Jan 2001 12:53:15 -0000
Received: (qmail 29436 invoked by uid 202); 12 Jan 2001 12:52:37 -0000
Received: from unknown (HELO zvahlav) (212.24.139.3)
by k0r3.reflektor.cz with SMTP; 12 Jan 2001 12:52:37 -0000
Date: Fri, 12 Jan 2001 13:57:38 -0100
From: [EMAIL PROTECTED]
Subject: subject
To: "CYNIC" <[EMAIL PROTECTED]>
body body body
---------------------------------------------------------------------------
[2000-10-06 15:03:20] [EMAIL PROTECTED]
code that fails:
mail("Greg Kempster <[EMAIL PROTECTED]>", "theSubject",
"theBody", "From: me <[EMAIL PROTECTED]>");
php.ini at mail portion:
[mail function]
SMTP
= pop.ptld.uswest.net ;for win32 only
sendmail_from
=
[EMAIL PROTECTED]
;for win32 only
;sendmail_path
=
;for unix only, may supply arguments as well
(default is
'sendmail -t -i')
Additionally:
This works:
mail("[EMAIL PROTECTED]", "theSubject", "theBody", "From:
me <[EMAIL PROTECTED]>");
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7068
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]