Message Digests
Digests
Enabling
Digests can be enabled in the Bridge plugin. Under, Digest, check the option, Enable Digests and save your settings.
Setting Frequency of Digests
Under the, Enable Digests setting, you may set the frequency of the messages sent out. Note: digest messages will not be sent out, if there are no messages sent between the last digest sent out, and whenever Dada Mail checks for new digests to be sent out.
Setting Delivery Preferences
Delivery Preferences can be set by both the List Owner, and individual subscribers. Each mailing list has separate delivery preferences.
List Owner
In the List Control Panel navigate to, Membership - View and click on the address you would like to work with. Click the, Delivery Preferences tab and choose among the three options for delivery: Receive Individual Messages, Receive Messages in a Digest, or, Hold Mailings.
Subscriber
A subscriber may log into their Profile (http://example.com/cgi-bin/dada/mail.cgi/profile, for example). Every mailing list that has digest enabled will have a similar for to choose their delivery preferences.
Digest Email Template
The Email Template for the digest message can be edited in Bridge. Click the, Customize Email Templates... button and locate the template labeled, Digest Message The Subject, as well PlainText and HTML versions of the Digest message may be customized.
The following tags are supported:
<!-- tmpl_var subscriber.* -->
Subscriber tags, referring to the subscriber that receives the message. For example:
<!-- tmpl_var subscriber.email -->
<!-- tmpl_var subscriber.first_name -->
<!-- tmpl_var list_settings.* -->
<!-- tmpl_var num_messages -->
Holds the number of messages in the digest
<!-- tmpl_loop digest_messages -->
The digest_messages
tag holds the list of digest messages. You can loop over all the digest messages available (and print out information about them), like this:
<!-- tmpl_loop digest_messages -->
...
<!-- /tmpl_loop -->
within this loop, the following tags are available:
<!-- tmpl_var archive_id -->
Holds the internal id of the archived message. You can then construct a link to the message you'll find in Dada Mail's public archives, like this,
<!-- tmpl_var PROGRAM_URL -->/archive/<!-- tmpl_var list_settings.list -->/<!-- tmpl_var archive_id/
<!-- tmpl_var date.* -->
date
tags are available within the digest_messages loop, and will correspond to the date of the archived message. Date tags are listed at:
http://dadamailproject.com/d/features-email_template_syntax.pod.html#Date-related-tags
Tags listed in, Flexible Date and Time formats are not currently supported.
<!-- tmpl_var subscriber.* -->
subscriber
tags are supported, and will correspond to the original Sender of the message (rather than the subscriber who is receiving the digest message)
subject
Holds the Subject of the message
plaintext_message
Holds the PlainText version of the message originally sent out.
html_message
Holds the HTML version of the message originally sent out
message_blurb
Holds a PlainText snippet of the message originally sent.