PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old November 4th, 2002, 09:31 AM
akahi akahi is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Kali, BD, Sweden
Posts: 1 akahi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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);

Reply With Quote
  #2  
Old November 4th, 2002, 12:33 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
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...


Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > Cc and Bcc in mail() ...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT