This is what I'd like to do:
I create different mailing lists and assign an email address to every list. In this example mailing list nr. 1 gets mailinglist01@mydomain.com.
The user sends an email to 'mailinglist01@mydomain.com'. My MTA sends this to a php script (or the script listens for new mail 'cause I don't know if mail piping is allowed by my hosting company). The PHP script will then look up the email address (mailinglist01) in a mysql database, searches for all subscribers to the mailing list and forwards the mail to each one.
Now I've been looking on the net for methods and the IMAP functions of PHP so far do the job for plain text mails. Ofcourse I would like the user to be able to send any kind of email (HTML mails with attachments for instance) and the email should stay intact, as if it was sent directly from the user.
Is there a script that does this? Or what would be the best approach? My main reason is because I would like it to be as easy as possible for the user. Because the user is used to his own mail client and providing a web based system doesn't guarantee nice output. I'd have to deal with upload issues, copy/paste from word, user's limited HTML skills...
Thanks for all the input.
Mackenzie