create task request via script?

  • Thread starter Thread starter michael johnson
  • Start date Start date
M

michael johnson

Does anyone know of an example demonstrating how to create a task request
from a script so that task requests could be created in response to some
event or external program processing?
I was looking for something like the cdo.message object, but there doesnt
seem to be one for task requests?

--mike
 
How about creating a task in code and then sending it to a recipient?
 
Ken:

I am assuming you mean to go through the steps of connecting to outlook and
getting various interfaces and creating task requests that way ? This is
probably the road I will go down next. I was hoping there was a CDO style
interface for doing this but there doesnt seem to be one. This was part of a
larger system to scan checkins to VSS for offending code and then email the
developer with a task request to fix the offending code.

thanks for the suggestion though..

--mike
 
It's not a good idea to try to work with the TaskRequest Item, it's
much better to work with a TaskItem, fill in the fields and call the
Assign method, add one or more recipients and then call the Send
method. Of course some of that would trigger the security prompts
unless you used Extended MAPI or Redemption code
(www.dimastr.com/redemption). CDO 1.21 code would fire the security
prompts also.

You might want to look over the CDO property tags at
www.cdolive.com/cdo10.htm and the code samples at
www.cdolive.com/cdo5.htm for a look at CDO information.

Also, you'd be better off posting programming questions in one of the
programming newsgroups.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top