- This is an email client which can send emails to a list of recipients stored in a text file.
- It also keeps track of all the mail sent in a .SER file
- Use a text file with name
loginCredentials.txtto store the username and password.- username should be in the first line.
- password in the second.
- The folder structure follows that of a java project on vscode.
The workspace contains two folders by default, where:
src: the folder to maintain sourceslib: the folder to maintain dependenciesbin: the folder to maintain compiled files (.class files)
If you want to customize the folder structure, open
.vscode/settings.jsonand update the related settings there.
- This project uses
javax.mail.jarandactivation.jaras dependencies. - These libraries should be added as reference libraries inside the project.
- add recipients
- input formats
- Official:
name,email,designation - Office_friend:
name,email,designation,birthday - Personal:
name,nick name,email,designation,birthday
- Official:
- input formats
- sending a simple email through a command
- input format
email,subject,content- note: if content has more than one line it can be added without an issue. Just type
zzzzafter all the lines have been entered.
- input format
- filtering and accessing recipients according to their birthday
- input format (note: this will consider the year as well, not just month and date)
YYYY/MM/DD
- input format (note: this will consider the year as well, not just month and date)
- retrieving all emails sent on a particular date
- input format
YYYY/MM/DD
- input format
- retrieveing the total number of recipients stored