2

I've searched all over Google with no luck. Can someone point me in the right direction for learning how to send out batch emails with the wp_mail() function?

1

While according to wp_mail() docs you can pass array of emails addressees it would be bad email tone since it will expose addresses between them.

There is no explicit bcc (blind copy) argument from quick look at source it does seems to be processed if passed in headers.

Note that many hosting providers are very nervous about mass outgoing emails and can react... poorly. :) It's better to check in advance how many and how often emails you are allowed to send.

  • I've already managed to send out the emails with BCC, and I'm well aware of the number of emails I'm allowed to send. I have a newsletter plugin that I need to work with more than, say, 50 subscribers, which is about the limit I can send out with a single email. – Pippin Jan 19 '11 at 16:46
  • @Pippin if you have email send worked out for 50/email, why not just split complete list in such chunks and send out sequentially? – Rarst Jan 19 '11 at 16:58
  • Thought about that, just haven't come up with the best way to do it, while working with the constraints of other features of the plugin. – Pippin Jan 19 '11 at 17:49
  • Did you ever solve this? I'm managing my own server using sendmail and I'm wondering if BCC is the way to go or if I should use something like SwiftMailer. – AlxVallejo Jul 23 '12 at 17:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.