I’m embedding
Dada Mail into a module. This is an awsome mailer script. Yes, it’s perl, but the config file is heavily commented and there is good
documentation on it. It runs beautifully in the "main" frame of the Manager. Just make a link to your dada installation:
echo '<a href="http://domain.com/cgi-bin/dada/mail.pl?f=admin" target="main">Manage Newsletter</a>
All I need to do is tweak the manager template, which is surprisingly like working with MODx templates (plain HTML with tags). You can either modify the existing default view templates, or specify your own template files.
One thing I really like about it is that you can specify a URL to use a webpage for the newsletter. So just create a document in MODx, and put in the URL to it to use it for your newsletter (yes, it works with friendly URLs). A custom template would be indicated, though, since email clients don’t have all the features of browsers.
It would be a piece of cake to create a plugin to add newly registered MODx users to the mailing list, either if you’ve chosen a database or the default flat-file list. The site I’m setting it up for will be manually adding new subscribers, so I’m not worrying about that right now.