NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re:Support Ticket Sytem

Ben Sgro (ProjectSkyline) ben at projectskyline.com
Thu May 17 18:42:16 EDT 2007


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: talk at lists.nyphp.org 
  Sent: Thursday, May 17, 2007 6:33 PM
  Subject: [nycphp-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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070517/0c5f8201/attachment.html>


More information about the talk mailing list