Raditha Dissanayake wrote:

See Kok Boon wrote:

Hi experts,

I would like to write a script to read mails directly from the mail server
and extracting the information, create "custom" auto-responders
automatically. Is this possible?


Start by reading about the imap functions but you cannot create autoresponders this way since they are mail server specific.

actually, you can. However, these would be pseudo-immediate. A way I use to achieve this kind of action (for a different system though), is by making a cronjob which calls a script quite often (eg. every 5 min). Add a quick check at the top if it has recieved any new mails, if not, quickly exit, otherwise process them and then auto-respond.

You can always expand the script in various ways.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to