Hope anyone will solve this issue, haven't got this issue solved after so much research I'm getting this error
[CLOSED] IMAP connection broken (server response)
when trying to append the message that is sent through PhpMailer.
Everything is working fine until the message size is greater than 7~8 KB but get this error when the size is greater than that provided with or without attachments.
imap_append($mbox, '{1.exchange2013.livemail.co.uk:993/imap/ssl/novalidate-cert}Sent' , $details);
where $mbox is imap connection stream, '{1.exchange2013.livemail.co.uk:993/imap/ssl/novalidate-cert}Sent' is the connecton string(folder) and $details= $mail->getSentMIMEMessage();//Returned from PhpMailer P.S When trying to run the same with Yahoo to append the sent mail with Yahoo account it works well. But all my efforts went in vein when tried with Exchange Server. Hope someone had the same issue and got a solution. Please Help..