Re: email catching in PHP
| From: | Jason Wong | Date: | Fri, 18 Apr 2003 10:51:42 +0000 |
| Subject: | Re: email catching in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144392@lists.php.net to get a copy of this message | ||
On Friday 18 April 2003 11:04, Pag wrote:
> 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)
Yes it's possible. It's been covered before, search the archives for 'process
email' and/or 'process mail'
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Have you noticed that all you need to grow healthy, vigorous grass is a
crack in your sidewalk?
*/