Jump to content

Recommended Posts

Hi guyz,

I am aware that the mail() function is not suitable for sending mass mails.

I need to send an email to about 800 recipients.

 

Can I use the Cc or Bcc fields? If used, will the mail() function run 800 times or will the SMTP servers handle it?

 

Will recipients be able to see the Cc, Bcc addresses?

 

Thank you

-Rohan

Link to comment
https://forums.phpfreaks.com/topic/135986-using-mail-for-mass-mailing/
Share on other sites

http://uk3.php.net/function.mail

 

Scroll down for "Example #4 Sending HTML email" it gives a basic idea of using it but Google can give you loads of sample scripts.

 

CC = Carbon Copy (recipients will see this)

BCC = Blind Carbon Copy (Recipients don't see this)

 

You'd have to run a loop but I've no idea how the server will handle that many as it might time out.

 

Your ISP may also have something to say about large numbers of emails being sent and may take action against you - best check!

You're welcome!

 

I know some ISPs and web hosts can be very funny when it comes to mass emails and rightly so - everyone hates spam.

 

I've seen some web hosts limit the number of emails sent within a certain time. As I said - best check with them but they'll probably want to know what exactly it is you're doing and will monitor it.

@Yesideez: Actually, my problem is not spam, all emails are legitimate, but I am using a cheap shared hosting, so I always have to be careful about resource consumption. If nothing works, then I will install a SMPT server on my localhost and send mass mails directly from my PC ;)

 

@Blade280891: Oh yea....I had actually forgotten it. Thanks for reminding! ;)

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.