Shoan Motwani wrote:
> Hi All,
> 
> I got the following script to connect to a remote imap server
> 
> <?php
>          $options = new ezcMailImapTransportOptions();
>          $options->uidReferencing = true;
>          $imap = new ezcMailImapTransport( $server,null,$options );
>          $imap->authenticate( $user, $pass );
>          $imap->selectMailbox('Inbox');
>       $messages = $imap->listUniqueIdentifiers();
> 
> foreach($messages as $msg) {
>       //do some additional processing
>          $set = $imap->fetchByMessageNr($msg);
>          $imap->noop();
>          $imap->copyMessages($msg,'Processed');
> 
> }
> 
> ?>
> 
> I keep getting the following exception when trying to copyMessages().
> 
> ezcMailTransportException: An error occured while sending or receiving  
> mail. The IMAP server could not copy '15' to 'Processed': A0016 NO  
> Error in IMAP command received by server.. in /home/shoan/public_html/ 
> sandbox/emailparser/libs/ezcomponents/Mail/src/transports/imap/ 
> imap_transport.php on line 910
> 
> 
> My email is hosted on dreamhost.com. What am I doing wrong?

Hi,

We could not reproduce the error. Can you send a network trace (for 
example with Wireshark)?

-- 
Alexandru Stanoi
System Developer
eZ Systems | http://ez.no
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to