Send Mass PHP Email Tutorial: May be you need to send out an email to many people (such as newsletter or birthday invitation). It is not efficient if we use multiple mail() for this job. Each call to mail() generates a separate call to sendmail on UNIX or a separate connection to an SMTP server on Windows.
May we don't want to display all email address at 'to'. We can modify by using dummy email address, like mailing-list@example.com. Then include everyone else as a Bcc onto this message. The mail server will handle this Bcc, parsing it and ensuring that everyone on the list receives a copy.
| Series this article: Email: Sending a Simple Email (Part 1) Email: Sending a Simple HTML Mail (Part 2) Email: Sending Dual Format (Part 3) Email: Send Attachement Mail PHP Email: Using Embedded Images in HTML Email PHP Email: Sending Mass Email use BCC PHP Email: Protecting Email Address from Spam Collectors Tag: email, bcc, mass email Category: PHP Basic Post : January 15th 2008 Read: 12,437 blog comments powered by Disqus |