Change the status of the Email:


Syntax:

  1. Import:

    • from frappe.email.inbox import mark_as_trash, mark_as_closed_open

  2. How to Use:

    • mark_as_closed_open("Email Name","Status")

  3. Example:

    • mark_as_closed_open(email.name,"Closed")

On this page