Posted by Manuel Lemos on 06/13/05 00:37
Hello,
on 06/12/2005 08:22 AM Hanjo Grüßner said the following:
> I want to use an eMail as a trigger to start a program.
>
> E.g. an eMail-Group: any group-member sends an eMail to a
> group-e-adress an the Mail is dispatches automatically to all members.
>
> I know there are services like yahougroups who do exactly this, but I
> wonder wether it's possible to do something like this by my own.
>
> Further purposes could be to trigger any program on a webserver by a
> special trigger-eMail.
That is easy. I do that all the time. Basically you need to assign a
certain address to a mailbox reachable by POP3. Then you keep polling
the mailbox periodically until a new message reaches there to be
redistributed to your mailing list.
You may want to use this POP3 class for fetching your messages.
http://www.phpclasses.org/pop3class
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
[Back to original message]
|