« All Events
1 PM – Intro To Java – Alex Lee
August 13, 2022 @ 1:00 pm - 2:00 pm
Today We Did
- We continued with EmailApplication program
- We added EmailMainApplication.createEmailMessafe(EmailAccount)
Homework
- Inside EmailMainApplication.checkInbox(EmailAccount) display email message from emailMessageMap.
- To test your code, login using one account l(et say gamas@ayclogic.com) and send an email to another email (let say ben@ayclogic.com). Logout and login as ben@ayclogic.com and check ben’s inbox.
- Example
-
Welcome to AYCLOGIC Email System.
Please select one of the items below:
1. Create new email account
2. Login
3. List all email accounts.
4. Exit
Please make your selection (1-4): 3
There are total of 3 email accounts in the system
1. Benjamin - ben@ayclogic.com
2. Gamas - gamas@ayclogic.com
3. Aidan - aidan@ayclogic.com
Please select one of the items below:
1. Create new email account
2. Login
3. List all email accounts.
4. Exit
Please make your selection (1-4): 2
Enter your login email and password
email: gamas@ayclogic.com
Password: abcd
Gamas, please select from below:
1. Check your inbox
2. Create new email message
3. Logout
Enter your selection: 2
Send to: ben@ayclogic.com
Subject: Your Python Final Test
Content: Congrats you got 100%.
Gamas, please select from below:
1. Check your inbox
2. Create new email message
3. Logout
Enter your selection: '3
Gamas, please select from below:
1. Check your inbox
2. Create new email message
3. Logout
Enter your selection: 3
You have logged out
Please select one of the items below:
1. Create new email account
2. Login
3. List all email accounts.
4. Exit
Please make your selection (1-4): 2
Enter your login email and password
email: ben@ayclogic.com
Password: abcd
Benjamin, please select from below:
1. Check your inbox
2. Create new email message
3. Logout
Enter your selection: 1
FROM: gamas@ayclogic.com - SUBJECT Your Python Final Test - Congrats you got 100%.