Re: writing a newsletter program in php?
| From: | Justin French | Date: | Thu, 23 Jan 2003 04:25:10 +0000 |
| Subject: | Re: writing a newsletter program in php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132739@lists.php.net to get a copy of this message | ||
Yes, this is a reasonable candidate for a PHP project, however:
1. why reinvent the wheel?
2. There are some serious issues with using PHP's mail() command:
a) large mailing lists will time out on individual emails
b) the alternative to a is to use Bcc. Your ISP will probably set the
maximum to 100 emails in a Bcc, which throws that idea out the window
c) the alternative to a and b seems to be injecting emails directly into the
mail que with sendmail, and all sorts of stuff I haven't looked into yet.
There is a class (not not a tutorial, a class in OOP way) on phpclasses.org
which offers (what seems to be) every answer to the above issues, but I've
never used it, and it's OOP nature may be a complex way to get into PHP.
There are literally 100's of threads about mailing lists in the archives.
Justin
on 23/01/03 9:15 AM, Mark C (gen-lists@blueyonder.co.uk) wrote:
> Hi,
>
> I'm new to php (ok new, try 3 days ;), althought, I'm finding it fun, I
> 'm trying to think of a project to do, to get me more into it.
>
> And after having a discussion with a friend and also setting up several
> Mailman mailing lists for people that want to compose HTML mails and
> post them as newsletters, it got me thinking, would I be able to create
> a similar program to mailman in php?
>
> So admins just login to the list. copy and past the html into a text box
> and php then renders it for a preview, then if they like it, they click
> send, this send queries the database and sends it to all the people list
> to receive mail on that list.
>
> I would assume that the sending could be handed off somehow to
> sendmail/postfix?
>
> The list front end would also hold list preferances as well, for
> subscribers and admins,
> basically I want to mimik Mailman, but in php and be able to render
> previews of mails first, basically it will be a newsletter program,
> rather than a mailing list one, which is where Mailman falls over.
>
> Cheers
>
> Mark
>