You would have to scan your imap/pop3 server, read the e-mail address, and reply using your e-mail server. So the script would be broken up into two parts. The first is the one that reads the imap/pop3 server, than the other part would be where it gets that e-mail address and sends out an e-mail. You can find code to do both by searching the php.net or hotscripts.com. Search for keywords like "send mail" and "receive mail" or something to that effect.
If you want it to run automatically, you can set up a cron job to run whatever script you make.
Well, I actually wouldn't have to scan the incoming, because --- well, here's the deal...
Users come to our website and fill out a registration form... I would like to be able to, once they send the form, send them an email back with information on how to register for the event, etc.. Here's a better breakdown...
1) Users come and fillout 12abc.php.
2) Upon validation and suceess, they get sent to 123def.php (text file)
3) ** Would like for a php script to send them an email at this time with information on whatever... Is this possible by doing to mail() back to back!? the first mail going to mail(var1,var2,var3,var4), then turning right around and completing another mail(var,var5)?
--- Charles!