Hello,

On 01/22/2003 08:15 PM, Mark C wrote:
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?
Yes, but you are recommend to set sendmail with the appropriate queuing flags so it does not stall your PHP script while attempting to deliver to every subscribers and instead just queue the messages without delay.

In that case you may want to try this class for composing and sending messages, that has a sub-class for sending using sendmail program directly. It already comes with options that let you tell to just queue the messages without delay as needed.

http://www.phpclasses.org/mimemessage


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.
Yes, but keep in mind that besides composing and sending messages, you also have to take care of creating subscriber records, validating subscriber addresses, handling bounces, handling unsubscriptions, etc... and dedicating mailing list manager programs already do that.


--

Regards,
Manuel Lemos


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to