I have a remote mailbox that will receive emails from different users which will return an autoresponse mail containing a url with a serialized ID for every outgoing mail.
I want to access and serialize the mail before sending a response to every received mail.
any Ideas how to link my code with pop3
note:my mailbox doesn't speak IMAP
pop3 and php
This probably would be better done with procmail than PHP. See,
or Procmail's man pages:
man procmailex
for information on writing mail filters using the procmail.rc files. You could also use the /etc/smrsh directory to run a CLI version of a PHP script that could be used to auto-respond.
I'm running my scripts on a FREEBSD rental server which means I don't have root previlages to install the whole procmail mail processing and SmartList mailing list suites.
I want to do it purely PHP...
thanks
Can you use the fsock()-type functions to get to port 110 (the POP3 port)?
http://www.php.net/manual/en/ref.imap.php
The functions support POP.