I've got small srcipt to make and i don't really know how to do it.
It basically needs to check if there is new mail in mailbox(A) and if there is one then it sends to mailbox(B) short note(mail) that i've recive a mail in that mailbox. It sends info from whom i've recived it and when.
There to ways it can to work
1) Just after reciving mail it will send me info
2) At the end of the day it will send me info with all mails i've reviced.
Waiting for your ideas.