Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / April 2006

Tip: Looking for answers? Try searching our database.

Exchange Folders ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Luciano Resende - 18 Apr 2006 18:58 GMT
Using webDAV, how can we tell a folder is a specific System Folder like Inbox
? I'm asking this related to different languages (e.g. in Portuguese, Inbox =
Caixa de Entrada).. Also, I think this is not direct related to browser
locale, as if I change from English to Portuguese, my Inbox still show as
Inbox...

- Luciano

Signature

- Luciano Resende

Henning Krause [MVP] - 18 Apr 2006 19:01 GMT
Hello Luciano,

you can get the correct url by issuing a PROPFIND on the base folder of your
mailbox querying the properties mentioned in this article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch
2k_getting_well-known_mailbox_folder_urls.asp


Greetings,
Henning Krause

> Using webDAV, how can we tell a folder is a specific System Folder like
> Inbox
[quoted text clipped - 5 lines]
>
> - Luciano
news.microsoft.com - 20 Apr 2006 08:48 GMT
You can use also code below:

'1 Way -  For current user (for example, current session user for asp,
asp.net etc.)
Set oPerson = Createobject("CDO.Person")
Set oADsInfo = CreateObject("ADSystemInfo")
oPerson.DataSource.Open "LDAP://" & oADsInfo.UserName
Set oADsInfo = Nothing
'------------
'2 Way -For some user (your script must be executed with Administrator or
Exchange Domain Servers groups priveleges!)
sUserMail = "user@exchange.com" '  example account
Set oPerson = Createobject("CDO.Person")
oPerson.DataSource.Open "mailto:" & sUserMail

  Set iMbx = oPerson.GetInterface("IMailbox")
  sFolderName = iMbx.Inbox '   or iMbx.SentItems, iMbx.Outbox, iMbx.Tasks,
iMbx.Calendar

'If You need to know full path for some user folder You can use this code:
sUserAlias = Split(sUserMail, "@")(0)
sDomainName = Split(sUserMail, "@")(1)

sExchPath = "file://./backofficestorage/" & sDomainName & "/MBX/" &
sUserAlias & "/" & sFolderName
' or
sExchPath = "http://" & sDomainName & "/exchange/" & sUserAlias & "/" &
sFolderName

Enjoy!
Alexander.

> Using webDAV, how can we tell a folder is a specific System Folder like
> Inbox
[quoted text clipped - 5 lines]
>
> - Luciano
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.