|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cc and Bcc in mail() ...
I got a problem with receiving mails to the accounts stated in Bcc and Cc.
I use the following headers. Also, hotmail chucks the emails into the junkmail even though I have just the To: <useremail> set. Any ideas? $headers .= "MIME-Version: 1.0rn"; $headers .= "Content-Type: text/plain; charset=iso-8859-1rn"; $headers .= "Content-Transfer-Encoding: 7bitrn"; $headers .= "From: <me@domain.com>rn"; $headers .= "To: <you@your.com>rn"; $headers .= "Reply-To: <me@domain.com>rn"; $headers .= "X-Priority: 1rn"; $headers .= "X-MSMail-Priority: Highrn"; $headers .= "X-Mailer: PHP4rn"; $headers .= "Cc: <me2@domain.com>rn"; $headers .= "Bcc: <me3@domain.com>rn"; mail("you@your.com", $subject, $message, $headers); |
|
#2
|
|||
|
|||
|
RE: Cc and Bcc in mail() ...
I would recommend reading the comments on the manual page for mail very closely...
http://www.php.net/manual/en/function.mail.php pay special attention to the comment left on 12-Aug-2002 11:42... |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Cc and Bcc in mail() ... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|