Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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