note 43140 rejected from function.imap-mail-copy by betz
| From: | betz@php.net | Date: | Thu, 10 Jun 2004 17:32:28 +0000 |
| Subject: | note 43140 rejected from function.imap-mail-copy by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-70895@lists.php.net to get a copy of this message | ||
Note Submitter: neo76@hotpop.com
----
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