thank you for your help, greatly appreciate it but every time I try to run this program i get this error:
Exception in thread "main" java.io.FileNotFoundException: mails.txt (The system
cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.util.Scanner.<init>(Scanner.java:636)
at CheckMail.main(CheckMail.java:12)
Press any key to continue . . .