Re: newbie with imap_mail_move
| From: | Adam Richardson | Date: | Sun, 10 Feb 2013 02:50:23 +0000 |
| Subject: | Re: newbie with imap_mail_move | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320178@lists.php.net to get a copy of this message | ||
On Sat, Feb 9, 2013 at 7:29 PM, dealTek <dealtek@gmail.com> wrote:
>
> Warning: reset() [function.reset]: Passed variable is not an array or
> object in /home/bbeast/public_html/emtest/em-move.php on line 91
>
> if ($mbox_name != $newmbox_name) {
> reset($msg_no);
> $messageset = implode (",",$msg_no);
> imap_mail_move($mbox,$messageset,$newmbox_name);
> imap_expunge($mbox);
> }
>
Where is the variable $msg_no coming from?
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com