简体   繁体   中英

Reading/accessing mails from already opened outlook account in Java

Is there a way to check emails in an already open Outlook application, with or without using API mail? For example; My application sends out an email for any activity performed and the same email appears in already opened Outlook. I need to check if I have got the email in my inbox/folder from specific "email ID".

You're much better off using some mail service like nDumbster or Papercut to act as an SMTP sink that "catches" the mail.

Working with Outlook, GMail, or any other real mail service makes your tests too complex, slow, and brittle. It took me a long time to understand that...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM