Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Monday, July 17, 2017 9:47:28 PM(UTC)

Rank: Newbie

Groups: Registered
Joined: 6/13/2017(UTC)
Posts: 0

I need to be able to create folders within the mailboxes of our clients. Most are using Exchange, which is where I need a bit of help. I see in the help tools you mention using the following: Imap4Folder.EWSPublicRoot. However, I have tried this and cannot get it to work. Here is a copy of the test code, but could you show me how/where to add the .EWSPublicRoot string.

Dim oFolder As EAGetMailObjLib.Imap4Folder
Set oFolder = oClient.CreateFolder(Nothing, "Test Folder")
If oServer.Protocol = MailServerImap4 Then
If Not oFolder.Subscribed Then
oClient.SubscribeFolder oFolder
End If
End If

Thanks as always.
#2 Posted : Tuesday, July 18, 2017 6:19:49 PM(UTC)

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,148

Thanks: 9 times
Was thanked: 54 time(s) in 54 post(s)
Hi, what error did you get?

If you want to create mail folder in exchange server, you should connect it as EWS or IMAP4 protocol.
Imap4Folder.EWSPublicRoot is a special folder for public folder of exchange server, but it is not implemented in ActiveX Object. If you only need to create folder in specific user folder, you don't have to use it.

Please refer to imap_full.vb6 sample in installation path, it demonstrates how to connect, create/delete/rename folder in Exchange server by EWS or Imap4 protocol.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.057 seconds.


© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.