471,596 Members | 860 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,596 software developers and data experts.

php mailing list

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
3 1822
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
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
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.

Similar topics

4 posts views Thread by Thom McGrath | last post: by
reply views Thread by Brian van den Broek | last post: by
6 posts views Thread by Francois Suter | last post: by
67 posts views Thread by Bob Powell | last post: by
1 post views Thread by suchismita.83 | last post: by
reply views Thread by techwr-l-confirm+22d099e2f3d881b010eaeb38c05837f62 | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.