Hello,

  There is a bug when sending a single message to multiple
dbmail users (eg. multiple "Rcpt To: " recipients) reguarding
the unique_id generation.  Currently in a loop for each
recipient, data is inserted in the messages table with an
empty string for unique_id, then later a second pass is
used to update it with the correct unique_id.  Once one
message has been inserted and still has an empty unique_id,
the second and subsequent messages fail to be inserted because
of the database constraint on unique_id.  Here is a simple
patch that updates each messages record immediately following
it's insertion (it worked well enough to clean up my mailq
from all my test messages :).

Later...
Jesse

--
Jesse Norell
[EMAIL PROTECTED]

Attachment: unique_id.patch
Description: Binary data

Reply via email to