PC Review


Reply
Thread Tools Rate Thread

Create Assigned Task Without 'Send me a status report when this task is complete' enabled

 
 
bassman5
Guest
Posts: n/a
 
      23rd Sep 2005
Hi,

I am using the Outlook Object model in c# to create and assign a task to
a user and send it (not worried about the security Message boxes) all
works OK. E.g.


Private void Do_it (string username, string subject)
{
Outlook.TaskItem objTask;
objTask =
(Outlook.TaskItem)objOL.CreateItem(Outlook.OlItemType.olTaskItem);
objTask.StartDate = DateTime.Now.AddHours (1);
objTask.DueDate = DateTime.Now.AddHours (4);
objTask.Subject = subject;
objTask.Assign();
objTask.Recipients.Add (username);
objTask.Save ();
objTask.Send ();
}

The options
'Keep an updated copy of this task on my task list' and
'Send me a status report when this task is complete'
Both are enabled by default, but I want to turn off 'Send me a status
report when this task is complete' before
I send the task, just like Outlook does from the default new task form.
Would be very nice to remove an unnecessary email message.
There does not appear to be a specific option for this, from the help it
looks like it is calculated from the BCC list but I checked there are no
BCC recipients before I send it.

Any ideas?

Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Task Status Reports re-generate after assigned task is completed. =?Utf-8?B?REJI?= Microsoft Outlook Discussion 0 7th Dec 2006 04:54 AM
Task completion status of an assigned task PBOS Microsoft Outlook 0 29th Sep 2004 03:52 PM
In Outlook Set New Task check box "Send me a status report When this task completed" Luz Microsoft Outlook VBA Programming 5 24th Feb 2004 04:56 PM
Set New Task check box "Send me a status report When this task completed" Luz Microsoft Outlook VBA Programming 0 20th Feb 2004 08:27 AM
Set New Task check box "Send me a status report When this task completed" Luz Microsoft Outlook VBA Programming 0 20th Feb 2004 07:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:05 PM.