Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: DeleteMessages function Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Mhd
Newbie
Newbie


Joined: 18 February 2008
Location: United Kingdom
Online Status: Offline
Posts: 38
Posted: 19 May 2008 at 9:00am | IP Logged Quote Mhd

Hi, Could you please tell me what is the first parameter for the function DeleteMessages mean?
I opened the documentation and found this sample:

imp.DeleteMessages("1,5:7", False)

What is "1,5:7"?

Regards.
Back to Top View Mhd's Profile Search for other posts by Mhd
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 19 May 2008 at 10:30am | IP Logged Quote Andrew

This is an index set which means messages with indexes 1, 5, 6, 7. They'll be deleted from mail server.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Mhd
Newbie
Newbie


Joined: 18 February 2008
Location: United Kingdom
Online Status: Offline
Posts: 38
Posted: 19 May 2008 at 2:32pm | IP Logged Quote Mhd

Thank you for your reply but is it a zero based index?

Back to Top View Mhd's Profile Search for other posts by Mhd
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 20 May 2008 at 1:03am | IP Logged Quote Andrew

No, POP3 and IMAP standards declare 1-based indexes.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 

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