Skip Menu |

This queue is for tickets about the Mail-IMAPClient CPAN distribution.

Report information
The Basics
Id: 8577
Status: resolved
Priority: 0/
Queue: Mail-IMAPClient

Owner: Nobody in particular
Requestors: mike [...]

Bug Information
Severity: Important
Broken in: 2.2.9
Fixed in: (no value)

Subject: Method migrate, return from append_string not checked.
The problem lies in method migrate. If a message fails to copy, the failure is not reported, and migrate ends as if all messages are copied. $new_mid is not checked in 2.2.9. I have quickly added some code shown below. Also a patch is included. if ( $size <= $bufferSize ) { my $new_mid = $peer->append_string($peer->Massage($folder), $self->message_string($mid) ,$flags, $intDate) ; if (!defined( $new_mid )) { $self->LastError("Unable to append to $folder on target mailbox. ". $peer->LastError ); return undef; } $self->_debug("Copied message $mid in folder $folder to " . $peer->User . '@' . $peer->Server . "" line 755 of 3772 --20%--
Download p1
application/octet-stream 555b

Message body not shown because it is not plain text.

new maintainer. Fix added to 2.99_02 -- MarkOv

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to