Link to home
Start Free TrialLog in
Avatar of hegga
hegga

asked on

mbox and maildir check for new mail

how can i with python check mbox's and maildir's for new mail?
I'm just looking after how mbox and maildir says that a mail is read or not,
i don't need any code.
ASKER CERTIFIED SOLUTION
Avatar of mces
mces

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nochkin
nochkin

In case of Maildir, you can simply look into Maildir/new folder to see if there are any e-mail files here.
Each file represents one new e-mail.
Each e-mail is moved to Maildir/cur folder automatically when it's in status Read so you don't have to worry aboit it.