MCPcopy
hub / github.com/charlierguo/gmail / move_to

Method move_to

gmail/message.py:104–107  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

102
103
104 def move_to(self, name):
105 self.gmail.copy(self.uid, name, self.mailbox.name)
106 if name not in ['[Gmail]/Bin', '[Gmail]/Trash']:
107 self.delete()
108
109
110

Callers 2

deleteMethod · 0.95
archiveMethod · 0.95

Calls 2

deleteMethod · 0.95
copyMethod · 0.80

Tested by

no test coverage detected