• Resolved zaidcrowe

    (@zaidcrowe)


    Hi Wayne,

    I’m using a couple of the hooks:
    my_postie_post_pre
    my_postie_post_after

    To 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)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    There currently isn’t a way to do that. I’d suggest instead that you change the post status. Lots of people use “draft” for posts they want to do some manual follow-up on.

    Thread Starter zaidcrowe

    (@zaidcrowe)

    Ahhh ok – that’s an interesting approach, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Possible to control email deletion programatically?’ is closed to new replies.