Re: Win32 Manual error?
| From: | Richard Lynch | Date: | Tue, 14 Aug 2001 00:56:27 +0000 |
| Subject: | Re: Win32 Manual error? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62548@lists.php.net to get a copy of this message | ||
> "...Please also note that the cc: and bcc: headers are case sensitive and
should be written > as Cc: and Bcc: on Win32 systems."
This depends more on the mailing software you use that Win32-ness. There
might even exist some lame-ass Un*x software somewhere that insists on
case-sensitivity, which is still in accordance with RFC-spec, though
somewhat niggardly so.
> <?php
> /* subject and message are arguments returned from the form */
> $headers = "From: Me <Me@myplace.com>\r\nCc:
someonelse@wherever.com\r\nBcc: log@myplace.com";
> mail($address, $subject, $message, $headers);
> ?>
Me <Me@myplace.com> is the trouble-maker. I dunno exactly if you can only
use xxx@yyy.zzz or what, but for sure what you got ain't working...
> $headers = "cc: someonelse@wherever.com\r\nbcc: log@myplace.com;
Ah, but now the From: is not in there, so it works.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm