Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the ability to set $message['force_skip'] to force plugin to bail #73

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mt-gareth
Copy link

I needed the ability to set a flag to tell Mandrill to bail before sending the message so that I could delay the sending until after Shutdown.

@MillerMedia
Copy link
Contributor

Hi @mt-gareth , thanks for the submission. Can you clarify what you mean by 'after Shutdown'? Shutdown of what?

@mt-gareth
Copy link
Author

By shutdown I mean the "shutdown" action that WordPress does after it sends the page to the user, allowing for me to do all the email work after the client has already received the HTML. So I am jumping in right before Mandrill sends the emails, copying the message, and telling it not to send now. After WordPress is done it sends the HTML to the user and then runs shutdown, I jump in and tell it to send the messages now.

@MillerMedia MillerMedia changed the base branch from master to develop January 11, 2021 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants