Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: pop.Delete(Index) on server problem ? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
olive.oliv
Newbie
Newbie
Avatar

Joined: 04 October 2007
Location: France
Online Status: Offline
Posts: 13
Posted: 23 October 2007 at 12:25am | IP Logged Quote olive.oliv

Hello

how can I delete a specific message on the server.
If I use this code pop.DeleteMessage(1)
It will delete the first message, but how can I know the index of the message ? It won't be always the first one
For instance, If I have 10 messages, they're ordered by Sender.
Which is the Index of the fourth message ?
thanks
Back to Top View olive.oliv's Profile Search for other posts by olive.oliv
 
olive.oliv
Newbie
Newbie
Avatar

Joined: 04 October 2007
Location: France
Online Status: Offline
Posts: 13
Posted: 23 October 2007 at 12:31am | IP Logged Quote olive.oliv

I've found

pop.DeleteMessage(msg.IndexOnServer)

thanks anyway.

olivier
Back to Top View olive.oliv's Profile Search for other posts by olive.oliv
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide