[PHP] can PHP talk to mail server?

2004-09-04 Thread See Kok Boon
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?

Can someone explain how the script can communicate with the mail server?

Thanks in advance!

Yours truly,
See Kok Boon
-
Web hosting plan offers continuous commission streams in a system possible
with zero advertising on your own. Sign up FREE now -
http://www.cashculture.com/CompensationPlan.asp?ref=kokboon

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



Re: [PHP] can PHP talk to mail server?

2004-09-04 Thread raditha dissanayake
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.

--
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] can PHP talk to mail server?

2004-09-04 Thread M. Sokolewicz
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