Subject: | Modification to Mail::IMAPClient to optionally ignore message size returned by the server |
Date: | Tue, 21 Aug 2007 14:38:07 -0700 |
To: | bug-Mail-IMAPClient [...] rt.cpan.org |
From: | Dan Regan <dregan [...] pgp.com> |
I needed to make these changes to support using the Mail::IMAPClient
module to work with Exchange 2007, which under-reports the size of
IMAP messages, and our own encrypting email proxy, which may over-
report the size of IMAP messages. "Real" email clients all seem to
fetch the whole message without error in these cases (well, at least
when the actual message size is less than returned when asking for
RFC822.SIZE). I created a new option to new(),
"Ignoreincorrectsize", which is enabled by default.
I think it would be useful to include this in future releases of
Mail::IMAPClient. Let me know what you think.
Thanks
-dan
Message body is not shown because sender requested not to inline it.
p.s. I just tried emailing DJKERNEN@cpan.org and I got a bounce message:
<imap@kernengroup.com>:
205.158.62.41 does not like recipient.
Remote host said: 550 <imap@kernengroup.com>: User unknown
Giving up on 205.158.62.41.