Re: Create TaskItems on exchange
From: Michael (michael_at_discussions.microsoft.com)
Date: 01/31/05
- Next message: Dan Mitchell: "Re: Create TaskItems on exchange"
- Previous message: Thorpe: "Create TaskItems on exchange"
- In reply to: Thorpe: "Create TaskItems on exchange"
- Next in thread: Dan Mitchell: "Re: Create TaskItems on exchange"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 31 Jan 2005 18:13:44 +0100
You can use WebDAV to create/add task from ASP .NET and this will work.
Problem is to send task (task delegation).
Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component WebDAV .NET for Exchange.
Check out http://www.independentsoft.com
"Thorpe" <anonymous@msnews.microsoft.com> wrote in message
news:e6%23GO16BFHA.3664@TK2MSFTNGP14.phx.gbl...
> I am building an ASP.NET we app and I need to be able to create a task and
> add it to a users task list
> (sending the task will also be ok as they could then click accept in the
> email message through outlook)
>
> I have currently use the Outlook Object model
>
> ApplicationClass outLookApp = new ApplicationClass();
> NameSpace NS = outLookApp.GetNamespace("MAPI");
> NS.Logon("Username","password",false,false);
>
> // Create a new TaskItem.
> TaskItem newTask =
> (TaskItem)outLookApp.CreateItem(OlItemType.olTaskItem);
> // Configure the task at hand and save it.
> newTask.Body = "Do some work now";
> newTask.DueDate = DateTime.Now;
> newTask.Importance = OlImportance.olImportanceHigh;
> newTask.Subject = "This is a test task";
> newTask.Assign();
> newTask.Recipients.Add(someone@there.com);
> newTask.Send();
>
> NS.Logoff();
>
> This way is no good as it means that outlook will popup some security
> warnings which need user input. I need a way to create the tasks and
> add/send the task automatically.
>
> cheers
>
>
- Next message: Dan Mitchell: "Re: Create TaskItems on exchange"
- Previous message: Thorpe: "Create TaskItems on exchange"
- In reply to: Thorpe: "Create TaskItems on exchange"
- Next in thread: Dan Mitchell: "Re: Create TaskItems on exchange"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|