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

Notification

Icon
Error

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

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.
ivan  
#2 Posted : Tuesday, July 18, 2017 6:19:49 PM(UTC)
ivan

Rank: Administration

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

Thanks: 9 times
Was thanked: 37 time(s) in 37 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-2019, Yet Another Forum.NET
This page was generated in 0.201 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AdminSystem Software Limited.