andyedinborough / aenetmail

C# POP/IMAP Mail Client
370 stars 153 forks source link

Gmail DeleteMessage and GetMessages setseen #86

Open paulpps opened 12 years ago

paulpps commented 12 years ago

There appears to be an issue with the delete method for Gmail. The delete command removes the message from the inbox, but does not mark it as seen. By running two separate commands with \Seen and \Delete it looks like it does the trick.

Logic is inverted for setseen when calling GetMessages. Passing false will mark the message as seen while passing true will not.

smiley22 commented 12 years ago

Yea you're right, the logic for the setseen flag was inverted...

filpen commented 11 years ago

Is it possible to have this merged? I stumbled upon the same issue and fixed it in the same way, it is just a one-liner fix. If the problem is that the pull request is of considerable size and Andy didn't have time yet to review it as a whole I can submit a new pull request containing just that fix.

andyedinborough commented 11 years ago

@filpen, please do. Thanks!

filpen commented 11 years ago

@andyedinborough that was quick, thanks ;)

andyedinborough commented 11 years ago

;] I'm trying to get better.

andyedinborough commented 11 years ago

I could have sworn this issue was resolved a long time ago actually...