Re: Automatic incoming mail notification

From: Date: Fri, 02 Feb 2001 19:04:55 +0000
Subject: Re: Automatic incoming mail notification
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-37792@lists.php.net to get a copy of this message
Dear Josh, Thanks for your prompt reply I will surely look around on the web for info on this pathy of action. thanks once again regards Ankur Verma ----- Original Message ----- From: "Josh G" <josh@gfunk007.com> To: "PHP User Group" <php-general@lists.php.net> Sent: Friday, February 02, 2001 10:53 AM Subject: Re: [PHP] Automatic incoming mail notification > Depends on your mailserver. Most mail servers can redirect incoming > mail to a program, I know sendmail can. In your case just make the first > line of your script #!/path/to/php/bin/php and that should do the trick. > > Sorry I don't know how to make sendmail do it, only that you can. > Check the man pages tho, shouldn't be too hard. > > Gfunk - http://www.gfunk007.com/ > > I sense much beer in you. Beer leads to intoxication, intoxication to > hangovers, and hangovers to... suffering. > > > ----- Original Message ----- > From: "Ankur Verma" <ankurv@vsnl.com> > To: "PHP User Group" <php-general@lists.php.net> > Sent: Saturday, February 03, 2001 5:51 AM > Subject: [PHP] Automatic incoming mail notification > > > Hello All! > > Sorry for this off-topic posting but this is extremely important for me. > > I need a php script to be called each time my email mailbox recieves a new > email message. One way is to have a cron job running and get the php script > to check my mailbox every few minutes to see if there are any new emails and > do the needfull if there is one. > > But I guess that there should be a way for the mail server to initiate some > action based on the reciept of a new mail in a particular mailbox. I don't > think trhat sites like Yahoo and Hotmail use cron jobs to sense new emails > in a user's mailbox. Another possibility might be that the checking is being > done every few minutes by the client application. > > if anyone has any idea about the methodology being followed by Yahoo and > Hotmail, please be kind enough to pass it on. If anyone is aware of a mail > server otr a mailserver addin which would enable automatic notification and > initiaition of script on the reciept of a new email, please pass the info > on. > > I am on Redhat 6.2 with cyrus as my mail server and am using PHP4. > > Thanks in advance > > Ankur Verma > HCL Technologies > A1CD, Sector 16, > Noida > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#37792) next »