|
 |
asp_cdo thread: Create Folders ..
Message #1 by "ParameswaranKumar" <kumarjambai@u...> on Thu, 19 Apr 2001 13:23:46
|
|
Hi,
I am trying to create a mail application same as in other mailing system
sich as hotmail etc.,.For retrieve mails from my exchange server i am
using my own created componenet.If i am uing this componenet it works fine.
I just want to clear the following
1.how to create folders?Whether that component plays any role for this
purpose?
2.how can i retrieve my mails using cdo
Thanks in advance
Best Regards
Kumar
Message #2 by "Earls, Michael (CORP)" <Michael.Earls@C...> on Thu, 19 Apr 2001 10:55:29 -0400
|
|
Answer to 1 - assuming that you are trying to create a folder in the web
aplication, not Exchange. Use Scripting.FileSystemObject
Dim fs
Dim objFolder
Set fs = Server.CreateObject("Scripting.FileSystemObject")
' the following assumes that /myMailWebApplication is already there and is
the root to your application
Set objFolder
fs.createFolder(Server.MapPath("/myMailWebApplication/user"))
The easiest way to explore the FileSystemObject is to load VB and add a
reference (project->references) to Microsoft Scripting Runtime. Use the
object browser to get a feel for what objects are available to you.
Michael Earls
-----Original Message-----
From: ParameswaranKumar [mailto:kumarjambai@u...]
Sent: Thursday, April 19, 2001 6:24 AM
To: ASP CDO
Subject: [asp_cdo] Create Folders ..
Hi,
I am trying to create a mail application same as in other mailing system
sich as hotmail etc.,.For retrieve mails from my exchange server i am
using my own created componenet.If i am uing this componenet it works fine.
I just want to clear the following
1.how to create folders?Whether that component plays any role for this
purpose?
2.how can i retrieve my mails using cdo
Thanks in advance
Best Regards
Kumar
|
|
 |