1

I am trying to build an application that uses Tkinter and Python to display emails through Outlooks windows application. I am using Display(True) so that user can edit the email before sending. However, I see the application freezes/waits till the Outlook window is closed. How do I make the application just trigger Outlook and return back to business. The Outlook window can remain open in the background. I am not expecting any return value from it.

user2864740
  • 60,010
  • 15
  • 145
  • 220
  • Depends on how you are triggering outlook. If you are using subprocess just use a nonblocking call like `subprocess.Popen` instead. – Novel Oct 11 '20 at 20:29

1 Answers1

4

Call MailItem.Display(false) (instead of true) to display the message modelessly.

Dmitry Streblechenko
  • 62,942
  • 4
  • 53
  • 78