Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevArticles:
Sending Email to Your PHP?
Jul 28, 2003 @ 12:18:13

If you've ever wanted to extend your PHP skills into a way to handle incoming mail on your server, but never had any idea where to get started, then you might want to read over this new article from DevArticles.

In Incoming Mail and PHP, they show you how, with a few simple commands and a little setup of your MTA (mail transfer agent - like sendmail), you can have a PHP script handle the incoming mail for an account. They show you how to inderface it with the mail software, give you the code to open and read the email message, and create a copy of it on your local hard drive for your own personal use.

There's tons of possibilities that this kind of interface can be used for, including the obvious, a mailing list. There's so much more than that that can be created, though - and it's only limited by your imagination. I think I might work on an address to send spam to to it's automagically added to my blocklist...hmm...

tagged:

Link:


Trending Topics: