]> khamidou — GitHub mirrors - imapclient.git/commit
Generate fresh Message-Id headers to work around Gmail's cleverness
authorMenno Smits <menno@freshfoo.com>
Sun, 5 Jun 2011 14:14:27 +0000 (15:14 +0100)
committerMenno Smits <menno@freshfoo.com>
Sun, 5 Jun 2011 14:14:27 +0000 (15:14 +0100)
commit35dc6790fdf787ac1eef29aad3740bd0186e9a03
treed5574e4252700322c93c2b4d6011d7d5de28e363
parent6127da2833a9fd0e928ea6ff9278db0174c6effd
Generate fresh Message-Id headers to work around Gmail's cleverness

When APPENDing to Gmail's IMAP, if the Message-Id of the uploaded
message has alrady been seen before, it assumes it's the same message
and ignores the content of the appended message. This breaks the tests
when the test message is changed.

A new Message-Id is now generated each time to work around this.
livetest.py