Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 651 Bytes

File metadata and controls

21 lines (13 loc) · 651 Bytes

Reading Mail Using Jakarta Mail Api This is Purely a automation work on how to read emails and attachments using a Jakarta Mail api (From Outlook mailbox)

In this task we are trying to achieve the following:

• we are connecting to a mailbox • Then we are reading mails (most recent unseen/unread mails) • After reading we are logging the To, From, Subject, Body and Attachments if there is any.

How to run:

• Clone the project • Open in any IDE • Replace Username and Password in constants/StoreFields.java with your outlook credentials • open terminal and type mvn test

References Taken From: Jakarta Mail Maven Cucumber