Login  
Search All Forums
Dart Home | PowerTCP Mail for .NET | Custom Development Reply | PowerTCP Mail for .NET Topics | Forums   
AuthorForum: PowerTCP Mail for .NET
Topic: IMAP DART MAIL NET vs DART MAIL ActiveX
BeyeP
pascal.beyer@mutuaide.fr

From: PARIS, France
Posts: 3
Member Since: 12/15/09
posted December 15, 2009 9:03 AM

Hi,

When i use DART.NET IMAP, i retrieve the MailBoxes. I get two different results with MailTool for DotNet and MailTool for ActiveX : The first only retrieves the parent MailBoxes (INBOX, Sent mails, Trash, Cabinet, ...). The second also retrieves user defined mailboxes (Cabinet, Cabinet/Project, Cabinet/Personal, ...)

Example for Dart.NET IMAP
>>
Dart.PowerTCP.Mail.Imap imp = new Dart.PowerTCP.Mail.Imap();
imp.Login("172.x.x.x", "login", "password");
int iNumber = imp.Mailboxes.Count;
--> i have just the parent mailboxes

Example for Dart ActiveX IMAP
>>
axImap1.Login("172.x.x.x", "Login", "Password", 143);
axImap1.Refresh();

How can i get similar result with DART.NET ie getting all "sub mailboxes" ?

Thks,
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted December 29, 2009 9:16 AM

Hi,
You can perform a LIST with a "*" parameter to get boxes and sub-boxes.

For example:
imap1.List("", "*", true);

Hope it helps,
-ken
BeyeP
pascal.beyer@mutuaide.fr

From: PARIS, France
Posts: 3
Member Since: 12/15/09
posted December 31, 2009 6:24 AM

Hi,

I tested the command imap1.List("", "*", true)
But only the boxes are returned.

I don't understand !
Thx for your helps
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted January 4, 2010 8:42 AM

Hi,
Please use the Imap.Trace method of the ActiveX control to create a log of the session.

Then use the Trace event of the .NET component to create a similar log.

After examining the logs, if you are still not sure what to do, please zip them up and send them to support@dart.com, referencing this thread.

Thanks,
-ken
Reply | PowerTCP Mail for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX