RE: [PHP] email catching in PHP

From: Date: Fri, 18 Apr 2003 03:56:09 +0000
Subject: RE: [PHP] email catching in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144374@lists.php.net to get a copy of this message
I think what you really want is procmail. Its made to be integrated with many mail transport applications. I'm sure you could integrate its output with PHP, but I'd start with procmail. Dan > -----Original Message----- > From: Pag [mailto:dante@mail.telepac.pt] > Sent: Thursday, April 17, 2003 9:05 PM > To: php-general@lists.php.net > Subject: [PHP] email catching in PHP > > > > Hi, > > I have a weird question. I tried searching the net for it but i cant find > anything useful. > > Is it possible to catch an email on the server using PHP? This is my > problem: I have a dynamic site in php, it has news items that are updated > from a mysql database, put there using a backoffice application i built. > Would it be possible to send an email to an email account on the domain > where my site is hosted, and having a script to "catch" it and add it to > the database? > An email like this, for example: > > To: newsadd@mydomain.com > Subject: Title of the news here > Content: > Today we saw an increase, blah blah... > > This news item would automatically be inserted to the site the moment it > got there. > Is this even remotely possible? How? Cron Jobs? (whatever they are :-P) > > Thanks. > > Pag > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#144374) next »