By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,334 Members | 2,746 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,334 IT Pros & Developers. It's quick & easy.

php mailing list

P: n/a
Hi All,
Is it possible to implement a mailing list using PHP?. I know I could
maintain a list of emails addresses in a db and send mail to them through my
website, but how can I get true mailing list behaviour where emails are sent
to a particular address (like ma*********@mydomain.com) and then distributed
to all of the email addresses?.

Ta,
Dave

Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Dave Moore <da**********@baesystems.com> wrote:
Is it possible to implement a mailing list using PHP?. I know I could
maintain a list of emails addresses in a db and send mail to them through my
website, but how can I get true mailing list behaviour where emails are sent
to a particular address (like ma*********@mydomain.com) and then distributed
to all of the email addresses?.


With the php cli/cgi version being called from eg. procmail:

:0:
| foo.php

The incoming mail can be read from php://stdin.

Jul 17 '05 #2

P: n/a
Daniel Tryba wrote:
Dave Moore <da**********@baesystems.com> wrote:
Is it possible to implement a mailing list using PHP?. I know I could
maintain a list of emails addresses in a db and send mail to them through
my website, but how can I get true mailing list behaviour where emails
are sent to a particular address (like ma*********@mydomain.com) and then
distributed to all of the email addresses?.


With the php cli/cgi version being called from eg. procmail:

:0:
| foo.php

The incoming mail can be read from php://stdin


....but you really want to prevent looping and detect bounces otherwise
you're going to be in all sorts of trouble (both can be done from procmail
or in PHP)

HTH

C.
Jul 17 '05 #3

P: n/a
Hello,

on 04/11/2005 04:13 PM Pingveno said the following:
Is it possible to implement a mailing list using PHP?. I know I could
maintain a list of emails addresses in a db and send mail to them
through my
website, but how can I get true mailing list behaviour where emails
are sent
to a particular address (like ma*********@mydomain.com) and then
distributed
to all of the email addresses?.

Wouldn't a more general purpose language be more suitable for this? I
would think a language such as PERL or Python would be better than a
web-oriented language. I know there are some excellent modules in the
Python standard library for these types of tasks.


That is a myth. I use this class to send more than 2 million mailing
list messages every month. It provides MTA independent means to optimize
its deliveries for bulk mailing. At least one mailing list sends
messages to about 100.000 users every day in just 20 minutes.

http://www.phpclasses.org/mimemessage

I use this other class to fetch the bounced messages and unsubscribe
requests.

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
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.