Author |
|
JerseyMike Newbie
Joined: 02 August 2006 Location: United States
Online Status: Offline Posts: 13
|
Posted: 12 September 2006 at 8:29am | IP Logged
|
|
|
I am using the .NET POP3 control to iterate through the messages in a GMail account and download them.
After I have downloaded the message, I want to delete the message from the server. I call pop.DeleteMessage(msg.IndexOnServer) which returns a value of True. I then call the pop.Disconnect to finalize the delete of the messages on the server.
However, when I access my GMail account...the message is still there and has not been deleted.
Any ideas?
Thanks,
Mike
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 12 September 2006 at 9:26am | IP Logged
|
|
|
Gmail extends POP3 functionality and has some special settings for POP3 access. You should log into your Gmail account and choose Settings / Forwarding and POP tab. Here you should configure "When messages are accessed with POP" option, for instance, set "delete Gmail's copy" value. Also, Gmail can ignore some POP3 commands. It's by Gmail's design.
You can also try to delete messages from your Gmail account via external e-mail client, like Mozilla Thunderbird, and keep an eye on Gmail's behaviour.
Best regards,
Andrew
|
Back to Top |
|
|
JerseyMike Newbie
Joined: 02 August 2006 Location: United States
Online Status: Offline Posts: 13
|
Posted: 12 September 2006 at 10:46am | IP Logged
|
|
|
Andrew,
Thanks for the quick response. That did the trick!
Thanks,
Mike
|
Back to Top |
|
|