• Resolved Elliot Taylor

    (@raisonon)


    Hi,

    How can I send ten unique emails using wp_mail? I don’t want the other recipients to see each other.

    I currently have an array of the user_emails. Should I loop through them and trigger wp_mail for each one or is there a better practice?

    Currently I have

    wp_mail( $user_email_addresses, $subject, $message, $headers );

    where user_email_addresses is an array of email addresses

    I could bcc but I thought that would not be good practice.

    Thanks!

    Elliot

Viewing 4 replies - 16 through 19 (of 19 total)
  • Plugin Author Mailgun

    (@mailgun)

    @raisonon So I may have figured this out – let me push another change to the 1.5.7 beta.

    Plugin Author Mailgun

    (@mailgun)

    @raisonon Please try the beta from the same link I gave you yesterday. I’ve got a good feeling about this one. Same code with the filters should work.

    If it doesn’t work, would you like to get together in a Gitter channel and discuss?

    • This reply was modified 8 years, 2 months ago by Mailgun.
    • This reply was modified 8 years, 2 months ago by Mailgun.
    Thread Starter Elliot Taylor

    (@raisonon)

    Not working ??

    I’m just having supper and then can jump on Glitter in about 45mins if ok?

    EDIT: I’m on Glitter now if you are free…

    • This reply was modified 8 years, 2 months ago by Elliot Taylor.
    Plugin Author Mailgun

    (@mailgun)

    For others looking for the solution here – was resolved in the 1.5.7 beta which you can download here. 1.5.7 stable will likely be released soon. ??

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Sending multiple emails’ is closed to new replies.