mirror of
https://github.com/imapsync/imapsync.git
synced 2025-06-04 19:57:21 +02:00
Fixed IMAPClient apped_string returning 0
This commit is contained in:
parent
c300a8e19f
commit
1df80fa321
1 changed files with 1 additions and 1 deletions
2
imapsync
2
imapsync
|
@ -10190,7 +10190,7 @@ sub append_message_on_host2
|
|||
$max_msg_size_in_bytes = max( $string_len, $max_msg_size_in_bytes ) ;
|
||||
$new_id = $mysync->{imap2}->append_string( $h2_fold, ${ $string_ref }, $h1_flags, $h1_date ) ;
|
||||
myprint( debugmemory( $mysync, " at A2" ) ) ;
|
||||
if ( ! $new_id){
|
||||
if ( ! defined $new_id){
|
||||
my $subject = subject( ${ $string_ref } ) ;
|
||||
my $error_imap = $mysync->{imap2}->LastError || q{} ;
|
||||
my $error = "- msg $h1_fold/$h1_msg {$string_len} could not append ( Subject:[$subject], Date:[$h1_date], Size:[$h1_size], Flags:[$h1_flags] ) to folder $h2_fold: $error_imap\n" ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue