RE: [PHP] Re: how to make server response to emails
| From: | See kok Boon | Date: | Thu, 09 Jan 2003 12:26:36 +0000 |
| Subject: | RE: [PHP] Re: how to make server response to emails | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130929@lists.php.net to get a copy of this message | ||
To: Jean -Christian Imbeault
Thanks for helping out... I actually do not want a mailing list right now, I
already have one. What I need is to use the same concept for some other
email driven tasks.
After some searching using "process email" I realize I can use PHP to get
the emails and parse its contents much like a webmail system.
I am not sure, but I think I need and imap extension installed. From another
script, the programmer attempt to include the php_imap file, which I am not
sure what is it too...
Does anyone by any chance know whether imap is a must for retrieval of
emails or is it just like you say, extract files from the mail/username
folder?
Thanks in advance.
-----Original Message-----
From: Jean-Christian Imbeault [mailto:jc@mega-bucks.co.jp]
Sent: 09 January 2003 06:01
To: php-general@lists.php.net
Subject: [PHP] Re: how to make server response to emails
I'm not sure how it's done exactly but I think the basic concept is to
have a daemon running, or have your program run by cron, and have the
program collect it's mail.
On Linux I think you can get your mail simply by fetching and parsing
the file /var/spool/mail/"username", where username is the name of the
account unsubscribe requests are mailed to.
But you want a mailing list, use major domo or some other ML spftware
instead of writing your own.
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php