944,218 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 8955
  • PHP RSS
Feb 17th, 2006
0

how to hide email recipient list

Expand Post »
I want to use PHP mail() function to send email to hundreds of users, in mail function I can set mail list like:
$sendto="user1@abcd.com,user2@xyz.com,user3@yahoo.com,.....";
But in this way when user receives this email, he can see all the email recipients at the top, I want to hide this info, is it possible to use:
$sendto="To Users<user1@abcd.com,user2@xyz.com,user3@yahoo.com,.....>";

Thanks for any comment.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
michael123 is offline Offline
93 posts
since Jun 2005
Feb 17th, 2006
0

Re: how to hide email recipient list

why not send to some dummy address and then bcc the rest
Reputation Points: 14
Solved Threads: 19
Posting Pro in Training
campkev is offline Offline
484 posts
since Jul 2005
Feb 17th, 2006
0

Re: how to hide email recipient list

or why not just loop through it and send it to each user individually, as most spam catchers dont really like BCC's

but otherwise BCC is the only way
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Feb 18th, 2006
0

Re: how to hide email recipient list

Quote originally posted by paradox814 ...
or why not just loop through it and send it to each user individually, as most spam catchers dont really like BCC's

but otherwise BCC is the only way
this would be the best way. to have a list of the emails in a database and then itterate through the database like while count is less than or equals to the number of emails in the database. email the current count (value stored in the database) something to that effect.
Reputation Points: 152
Solved Threads: 39
Master Poster
Killer_Typo is offline Offline
778 posts
since Apr 2004
Feb 18th, 2006
0

Re: how to hide email recipient list

Doing it this way is also more efficient for the server because as your mailing list grows, you can do batch jobs of XXX at a time to lessen server load. It also allows you to customize each email to each user, by using php variables within the mail messages. Makes it seem a lot more personal and you will probably get a better response rate.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 163
The Queen of DaniWeb
cscgal is offline Offline
13,646 posts
since Feb 2002

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC