Back to Blog
Mac mail gmail imap cannot delete emails6/16/2023 ![]() ![]() Confirm that you wish to do this in the sheet that appears and Mail will not only delete the messages from your Mac, but communicate with Gmail’s server and instruct it to delete the messages there as well. If you’d like to delete those messages right this instant, Control-click (right-click) on this Gmail Trash mailbox and choose Erase Deleted Items. Now, when you delete a message, it will disappear from your Gmail Inbox (as well as from the All Mail mailbox) and move to this Trash mailbox. Instead, it will appear under Mail’s main Trash heading. ![]() When you do so, this Trash entry will disappear from its present location. ![]() Turn Gmail’s Trash folder into the real thing with this command. Select the Trash mailbox and choose Mailbox > Use This Mailbox For > Trash. This post looks at how to move an email into Gmails trash with PHP IMAP. This is straight forward on a regular POP3 or IMAP mail server but deleting a message when connected to Gmail just removes it from the inbox and its still available in 'All Mail' rather than being moved into the trash. Click the triangle next to the entry to show its contents. My last PHP post looked at how to delete email messages using PHPs IMAP functions. Find the entry for your Gmail account and if its contents aren’t shown, click the Show item next to it to reveal its folders. If Mail’s sidebar isn’t exposed choose View > Show Mailbox List.
0 Comments
Read More
Leave a Reply. |