Possible to control email deletion programatically?
-
Hi Wayne,
I’m using a couple of the hooks:
my_postie_post_pre
my_postie_post_afterTo do some processing of the email content.
I’ve come accross a use case where I may want to leave the occational email in the inbox, for reprocessing at a later time.
Is there a means of method of achieving this?
I currently have ‘Delete email after posting’ set to yes in the plugin settings, so I guess I’m looking to over ride that at run time, or, be able to set it to no, and have a means of deleting the email from my functions.
Thanks in advance, and congrats on a great plugin!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Possible to control email deletion programatically?’ is closed to new replies.