Skip to content

Commit f3b7417

Browse files
sebbASFnevans
authored andcommitted
Expunge is implicit in MOVE
1 parent 84b5a38 commit f3b7417

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ imap.search(["BEFORE", "30-Apr-2003", "SINCE", "1-Apr-2003"]).each do |message_i
6161
else
6262
imap.copy(message_id, "Mail/sent-apr03")
6363
imap.store(message_id, "+FLAGS", [:Deleted])
64+
imap.expunge
6465
end
6566
end
66-
imap.expunge
6767
```
6868

6969
## Development

0 commit comments

Comments
 (0)