note 113803 added to function.imap-delete

From: Date: Thu, 05 Dec 2013 02:22:24 +0000
Subject: note 113803 added to function.imap-delete
Groups: php.notes 
Request: Send a blank email to php-notes+get-197740@lists.php.net to get a copy of this message
This function seems not to work on "[Gmail]/All Mail" mailbox. This is because Gmails keeps only one copy of the message and mailboxes are no more than labels. Deleting a message from a mailbox only removes that label (except for "All Mail" mailbox). To delete from "All Mail" you have to use imap_mail_move() function and move the message to "[Gmail]/Trash" mailbox. Note: Names of mailboxes in Gmail depends on the language you're using. E.g.: in Spanish "All Mail" is "Todos" and "Trash" is "Papelera". ---- Server IP: 72.52.91.14 Probable Submitter: 72.52.91.14 ---- Manual Page -- http://php.net/manual/en/function.imap-delete.php Edit -- https://master.php.net/note/edit/113803 Del: integrated -- https://master.php.net/note/delete/113803/integrated Del: useless -- https://master.php.net/note/delete/113803/useless Del: bad code -- https://master.php.net/note/delete/113803/bad+code Del: spam -- https://master.php.net/note/delete/113803/spam Del: non-english -- https://master.php.net/note/delete/113803/non-english Del: in docs -- https://master.php.net/note/delete/113803/in+docs Del: other reasons-- https://master.php.net/note/delete/113803 Reject -- https://master.php.net/note/reject/113803 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#197740) next »