216
216
the digest volume number is bumped, the digest number is reset to
219
message_count = Attribute(
220
"""The number of messages in the digest currently being collected.""")
222
219
digest_size_threshold = Attribute(
223
220
"""The maximum (approximate) size in kilobytes of the digest currently
224
221
being collected.""")
226
messages = Attribute(
227
"""An iterator over all the messages in the digest currently being
228
created. Returns individual IPostedMessage objects.
223
def send_one_last_digest_to(address, delivery_mode):
224
"""Make sure to send one last digest to an address.
226
This is used when a person transitions from digest delivery to regular
227
delivery and wants to make sure they don't miss anything. By
228
indicating that they'd like to receive one last digest, they will
229
ensure continuity in receiving mailing lists posts.
231
:param address: The address of the person receiving one last digest.
232
:type address: `IAddress`
233
:param delivery_mode: The type of digest to receive.
234
:type delivery_mode: `DeliveryMode`
237
last_digest_recipients = Attribute(
238
"""An iterator over the addresses that should receive one last digest.
240
Items are 2-tuples of (`IAddress`, `DeliveryMode`). The one last
241
digest recipients are cleared.
232
"""An iterator over the IDigestLimiters associated with this digest.
233
Each limiter can make a determination of whether the digest has
234
reached the threshold for being automatically sent.""")
237
"""Send this digest now."""
239
244
decorators = Attribute(
240
245
"""An iterator over all the IDecorators associated with this digest.
241
246
When a digest is being sent, each decorator may modify the final