An email is being sent in my case ( 1. When resetting the password, 2. Adding a New member) during both API and UI tests. How can I access these emails without actually logging into my mail manual and accessing the content, so I can add them to the test and verify?
The test is something like the below.
- User can reset the password.
- Mail is triggered.
- User uses the link in the mail to reset the password.
- User logs in again using the new password.
Second test.
- Admin adds a member.
- Admin adds a new member and gets a mail about confirmation.
- verify the mail sent to the new member's email.
Would appreciate any help here.
I have tried to look into the third parties but it seems I need to use their email accounts I was hoping if someone can help me regarding Gmail(accessing the content of emails going to Gmail)