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.
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 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.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
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.