Hello, 

You could have your script check the email account every X minutes.

You can do that by having it loop (while 1) { ... }
attempt to fetch the mail using the phpmailer class, then sleep(60 /* 
seconds);. Repeat.
http://phpmailer.sourceforge.net/

Else, you can have cron (*nix only) execute the file/script at specified 
intervals.
http://en.wikipedia.org/wiki/Crontab

- Ben
  ----- Original Message ----- 
  From: Aniesh joseph 
  To: [email protected] 
  Sent: Thursday, May 17, 2007 6:33 PM
  Subject: [nyphp-talk] Re:Support Ticket Sytem


  Hello

  I tried to forward mail to php script page by setting from cpanel. But cpanel 
wonot allow to forward mail to script page. 

  Could someone suggest other method ?

  Regards
  Aniesh




------------------------------------------------------------------------------


  _______________________________________________
  New York PHP Community Talk Mailing List
  http://lists.nyphp.org/mailman/listinfo/talk

  NYPHPCon 2006 Presentations Online
  http://www.nyphpcon.com

  Show Your Participation in New York PHP
  http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to