Ticket #16 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

Patch — Allow pre-formatted messages to be enqueued.

Reported by: fs Owned by: amcgregor
Priority: normal Milestone: 2.1
Component: dispatcher Version: 2.0.4
Keywords: patch Cc:

Description

In certain situations I want to send preexisting messages which only exist in a string. The enqueue should handle these messages as well. Attached a patch (with test case) which resolves this ticket.

Proposed usage:

turbomail.enqueue(dict(sender="foo@bar.example", 
                       recipients=["sales@bar.example"], 
                       message=msg_string))

Attachments

messages_as_strings.patch (4.0 kB) - added by fs 1 year ago.

Change History

Changed 1 year ago by fs

Changed 1 year ago by amcgregor

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 2.0.5

Patch applied as of r27.

Changed 1 year ago by amcgregor

  • summary changed from accept plain string messages in enqueue to Allow pre-formatted messages to be enqueued.

Changed 1 year ago by amcgregor

  • keywords patch added
  • summary changed from Allow pre-formatted messages to be enqueued. to Allow pre-formatted messages to be enqueued. — Patch

Changed 1 year ago by amcgregor

  • summary changed from Allow pre-formatted messages to be enqueued. — Patch to Patch — Allow pre-formatted messages to be enqueued.
Note: See TracTickets for help on using tickets.