bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] mbox_append_message


From: Anthony Quinn
Subject: [bug-mailutils] mbox_append_message
Date: Wed, 17 Sep 2003 14:32:43 -0400

Not sure if any else is in need of this or not but here it goes:

I'm using the mbox_append_message function to append a message to a mailbox
and was pulling my hair out trying to figure out why when I changed an
attribute on the message (before appending) it was not saving
correctly...After digging into the code I noticed there was a shortcut made
to mbox_append_message0 (the underlying function that does all the work)
that will skip over witting the attributes and appending the X-UID field to
a message unless it is the first message or the expunge flag is set.  There
is no way to set the expunge flag (nor is this really what I wanted from
mbox_append_message.  If I removed the if statement and allowed it to fall
through as it would normally everything works fine.  I was thinking about
modifying the mbox_append_message function to accept a flag to not skip the
attribute saving and X-UID setting.  

Any thoughts suggestions?


-Anthony

This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake then
delete this e-mail from your system.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]