Re: Mail responders
| From: | Jason Wong | Date: | Fri, 26 Apr 2002 17:20:51 +0000 |
| Subject: | Re: Mail responders | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94760@lists.php.net to get a copy of this message | ||
On Saturday 27 April 2002 01:13, JSheble wrote:
> How would you set this up via PHP? I've wanted to do this, but I always
> thought it was something specific to SendMail, and in a hosted environment,
> mucking about with SendMail generally isn't allowed...
>
> I'd like to send an email to something like admin@domain.com but have a
> PHP script get the mail and operate on it...
>
> At 11:56 AM 4/26/2002 -0500, you wrote:
> >On Fri, 26 Apr 2002, Dennis Gearon wrote:
> > > All these lists that have addresses to subscribe, unsubscribe, etc, how
> > > do they work? Are they using a cron job to poll the mail inbox through
> > > sendmail? Does all mail not to a specific address at the site go to a
> > > 'catchall' address, which is then polled?
> >
> >Usually the mail is delivered directly to a program rather than to a
> >mailbox. The program receives the incoming message as input and handles it
> >as it pleases.
What are you actually trying to do? If you're trying to make a mailing-list
type program then you're better off using an existing mailing list program.
Otherwise with sendmail you can use procmail. It's clunky but doable.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
"The whole world is about three drinks behind."
-- Humphrey Bogart
*/