This repository has been archived by the owner. It is now read-only.

Move emails to "Trash" when using --delete with a Gmail account. #29

Closed
twyatt opened this Issue Feb 7, 2010 · 3 comments

Comments

4 participants
@twyatt

twyatt commented Feb 7, 2010

Gmail doesn't actually delete emails when deleting from IMAP. Gmail instead simply removes an email's labels on delete. To perform a delete, an email needs to be moved to Trash.

http://mail.google.com/support/bin/answer.py?answer=78755

P.S. Thanks for this awesome utility!

@rgrove

This comment has been minimized.

Show comment
Hide comment
@rgrove

rgrove Feb 10, 2010

Owner

Move deleted Gmail messages to the Trash. Closed by 2782b52

Owner

rgrove commented Feb 10, 2010

Move deleted Gmail messages to the Trash. Closed by 2782b52

@gorn

This comment has been minimized.

Show comment
Hide comment
@gorn

gorn Nov 8, 2012

I get this on my gmail account:

Net::IMAP::NoResponseError: No folder [Gmail]/Trash (Failure) (will retry)

the problem is that the name of the folder is localised as [Gmail]/Koš .... I do not really know what to do with this, but please reopen this issue.

gorn commented Nov 8, 2012

I get this on my gmail account:

Net::IMAP::NoResponseError: No folder [Gmail]/Trash (Failure) (will retry)

the problem is that the name of the folder is localised as [Gmail]/Koš .... I do not really know what to do with this, but please reopen this issue.

@jasonm23

This comment has been minimized.

Show comment
Hide comment
@jasonm23

jasonm23 Jul 21, 2013

My "Trash" is labelled as "Deleted Messages" ... I'm patching locally. (which didn't work)

Might need to add this as a configurable to work for everyone. Not sure what's going on, because Google documents the Trash via IMAP as [Gmail]/Trash but I get folder not found. (same when I tried Deleted Messages or Bin.)

My "Trash" is labelled as "Deleted Messages" ... I'm patching locally. (which didn't work)

Might need to add this as a configurable to work for everyone. Not sure what's going on, because Google documents the Trash via IMAP as [Gmail]/Trash but I get folder not found. (same when I tried Deleted Messages or Bin.)

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.