advMailer

advMailer – the advanced flexible zikula mailer module

advMailer was planned as a development for the Mailer module for the zikula core but it now is available as an own module that is automatically integrated if it is installed for zikula 1.2.0 systems and newer. Older installations can easily be made compatible to advMailer – just some lines of code have to be inserted into a function of the zikula core Mailer module. advMailer is easy!

What are the advantages of advMailer? Why was this module neccessary and built? The problem existed for years that users using interactive content like forums had to wait until the notification emails (as an example) were sent out successfully (or not). After the mails were sent the output was presented in the web browser. Also for module sending many emails (lobby with group newsletters for example, other newsletter modules, bigger mailings…) long waiting times existed and often the sending of mails broke and the admin was confronted with this problem. The feature request to add a custom header and footer for mails was also wanted and implemented – with even more features – into advMailer. You can now use the module!

Features of advMailer

This are the main features advMailer offers you:

Mail-Queue-Handling: You can choose between time based sending (for example via a CRONJOB-Dämon) or sending mails in the background to share the load of sending mails to all users when they call a site (SystemInit-Hook). The number of mails that should be sent out with each call can be defined by the administrator. If you do not want to use this queue handling you can configurate advMailer to send out emails immediately.

Templates: There are two mail content types: Html and Text. For both you can now store templates for a header and footer and customize all mails that are sent out as you like it. advMailer will autoomatically recognize the content type and add the header and footer you need. Doing this it is very easy for you to create all mails that are sent out with your own design or you can add standard information to the footer of each mail and so on.

Mail-Queue-Management: All mails that are waiting to be sent will get three tries – if the third try fails, the mail is put into an error logfile. You as administrator can now re-queue the ail or delete the mail. No mail will be lost any more if your mailserver is down for some minutes or is disturbed by other problems.

Priorities: Some modules use this feature already: A newsletter might not have a high priority but a notification about a new private message should arrive before 100.000 newsletter mails are successfully sent. Some modules (like mailz) already use the priority feature of advMailer. it now will depend on the module developers to include a priority for their mails into the API call of the Mailer module. Mailz for example allows a user specific configuration for each mailing. If you are a software developer for zikula: please integrate the priority into your email functions.

All function the Mailer module provides for you can also be used. advMailer is just an add on for the regular Mailer module.

Mailer and avdMailer understand each other very good after advMailer is installed and integrated. Try out this module – you will like it. I think that many modules will use these new functions and advMailer will be a module you will need on your zikula system.

Links and Download