Bluehost.com Web Hosting $6.95

Re: [PHP] two small issues with php mail

This is a discussion on Re: [PHP] two small issues with php mail within the PHP General forums, part of the PHP Programming Forums category; Brad wrote: > You say > >> The use of BCC with the PHP mail function is pretty well-...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-19-2007
Stut
 
Posts: n/a
Default Re: [PHP] two small issues with php mail

Brad wrote:
> You say
>
>> The use of BCC with the PHP mail function is pretty well-explained on
>> the PHP manual page for said function.

>
> I say,
>
> No it doesn't, I tried everything on that page and it either parse error'ed
> or didn't work.


Wrong bit. I also said...

> // $headers = 'bcc: 'kathyandrews@bellsouth.net';


This should work. However, because you're assigning this to $headers
rather than concatenating it you're trampling over the From line above.

BTW, Bcc usually has a capital letter. Probably wouldn't cause any
problems but has the potential to stop it working.

Fin.

-Stut

--
http://stut.net/
Reply With Quote
  #2 (permalink)  
Old 11-19-2007
Brad
 
Posts: n/a
Default RE: [PHP] two small issues with php mail

Why is this?

It makes no sense?

Can anyone show me where an "order of operations" for php mail might be
hidden?
Or is this "top secret" information requiring clearance "which I have"?

################################################
Wrong bit. I also said...

> // $headers = 'bcc: 'kathyandrews@bellsouth.net';


This should work. However, because you're assigning this to $headers rather
than concatenating it you're trampling over the From line above.

BTW, Bcc usually has a capital letter. Probably wouldn't cause any problems
but has the potential to stop it working.

Fin.

-Stut
###############################################

-----Original Message-----
From: Stut [mailto:stuttle@gmail.com]
Sent: Monday, November 19, 2007 5:25 PM
To: Brad
Cc: php-general@lists.php.net
Subject: Re: [php] two small issues with php mail

Brad wrote:
> You say
>
>> The use of BCC with the PHP mail function is pretty well-explained on
>> the PHP manual page for said function.

>
> I say,
>
> No it doesn't, I tried everything on that page and it either parse

error'ed
> or didn't work.


Wrong bit. I also said...

> // $headers = 'bcc: 'kathyandrews@bellsouth.net';


This should work. However, because you're assigning this to $headers
rather than concatenating it you're trampling over the From line above.

BTW, Bcc usually has a capital letter. Probably wouldn't cause any
problems but has the potential to stop it working.

Fin.

-Stut

--
http://stut.net/

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007
5:15 PM


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007
5:15 PM

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0