note 43140 added to function.imap-mail-copy

From: Date: Thu, 10 Jun 2004 17:22:08 +0000
Subject: note 43140 added to function.imap-mail-copy
Groups: php.notes 
Request: Send a blank email to php-notes+get-70894@lists.php.net to get a copy of this message
iam trying to copy sent mails to INBOX.sent but i failed , here is what i tried to do <? $inbox= imap_open ("{localhost:143}INBOX.inbox", "user", "pass"); $mbox= imap_open("localhost:143}INBOX.sent", "user", "pass"); $mail_copy= imap_mail_copy ($inbox, "1", $mbox); if ($mail_copy) { echo "mail copied"; } else { echo "failed to copy mail"; } ?> please help ---- Manual Page -- http://www.php.net/manual/en/function.imap-mail-copy.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43140 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43140&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43140&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70894) next »