Web Hosting Talk







View Full Version : notification of new mail?


lostpacket
01-27-2002, 01:10 AM
Is there any way to have a cron job check a mail account to see if there is new mail waiting, and if there is to send an email to a specific email address? It would be great if I could have an email sent to my pager or phone when I have to check the support email box.


Any help would really help me out.

Thanks
:)

driverdave
01-27-2002, 02:00 AM
If the response you like to get for "you have mail" is an email, why not forward the email to wherever you'd like the new email notification sent to?

Juan
01-27-2002, 02:12 PM
Write a perl script which checks you mailbox-size, if the size is bigger since the last check, send a message to your pager. You can run this script by a cron job very easily.