#21930 [Com]: TO NAME not work
| From: | albaity at php4web dot com | Date: | Sun, 02 Feb 2003 06:09:51 +0000 |
| Subject: | #21930 [Com]: TO NAME not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31869@lists.php.net to get a copy of this message | ||
ID: 21930
Comment by: albaity@php4web.com
Reported By: albaity@php4web.com
Status: Feedback
Bug Type: Mail related
Operating System: Windows 2000 Proffiessional
PHP Version: 4.3.0
New Comment:
its work , but the problem was if the name \"Some Name\"
writed in arabic or chinese it will not work
thats is the probelm
Previous Comments:
------------------------------------------------------------------------
[2003-02-01 10:49:13] sniper@php.net
Does this work:
<?php
mail('', 'subject', 'message', "To: \"Some Name\"
<someone@somehwere.com>");
?>
------------------------------------------------------------------------
[2003-02-01 05:12:58] albaity@php4web.com
I do not understand your Q
------------------------------------------------------------------------
[2003-01-29 06:49:44] sniper@php.net
So does it work when it's send as part of the headers?
------------------------------------------------------------------------
[2003-01-29 06:31:51] albaity@php4web.com
I take details from :
http://www.php.net/manual/en/function.mail.php
because it happen with me also
the smtp server with iis5 does not support a TO NAME,
you can send it to an email but not along with a name.
to say $to = "Miki <Miki@email.com>"; would not be accepted and you
will
get an error 501 Invalid address.
if you see this error, just try NOT sending emails with a TO name,
only
the email should be entered
That is given to me..
SMTP server response: 550 5.1.1 ... User unknown in
C:\Projects\fnoon\functions.php on 138
I want to comment that I USE the ISP SMTP , not IIS SMTP
and also not work..
Now I think I understand what the problem ..
THAT BECAUSE I USE ARABIC EMAIL FORMAT ..
SORRY FOR MAKE NOISE AND VERY THMKS TO YOU SNIPER :P
------------------------------------------------------------------------
[2003-01-29 06:31:41] albaity@php4web.com
I take details from :
http://www.php.net/manual/en/function.mail.php
because it happen with me also
the smtp server with iis5 does not support a TO NAME,
you can send it to an email but not along with a name.
to say $to = "Miki <Miki@email.com>"; would not be accepted and you
will
get an error 501 Invalid address.
if you see this error, just try NOT sending emails with a TO name,
only
the email should be entered
That is given to me..
SMTP server response: 550 5.1.1 ... User unknown in
C:\Projects\fnoon\functions.php on 138
I want to comment that I USE the ISP SMTP , not IIS SMTP
and also not work..
Now I think I understand what the problem ..
THAT BECAUSE I USE ARABIC EMAIL FORMAT ..
SORRY FOR MAKE NOISE AND VERY THMKS TO YOU SNIPER :P
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21930
--
Edit this bug report at http://bugs.php.net/?id=21930&edit=1