Hook for Subscribe2
-
Hi Wayne,
I love postie but just realized that it is not sending emails to my 150 recipients.
Is there a way to get a filter action to gather the emails from subscribe2 and pass it to the variable $recipients ?
Like this
postie_post_before capture $recipients then pass them to
The code showingif ($confirmation_email == ‘sender’) {
$recipients = array($details[’email_author’]);
} elseif ($confirmation_email == ‘admin’) {
$recipients = array(get_option(“admin_email”));
} elseif ($confirmation_email == ‘both’) {
$recipients = array($details[’email_author’], get_option(“admin_email”));
}I need to work this so when a post is saved, emails are send to all. I will have to change your core code above to append a new function to read the subscribe2 user list and append a blind copy of emails before it goes out. Do you mind helping me with this?
Otherwise I will need to publish manually these emails so my subscribers get the new post in a manual post mail from subscribe2.
Thanks
- The topic ‘Hook for Subscribe2’ is closed to new replies.