Hi Ken,
Thank you for all the information. To answer your questions (and clarify my
original question):
In OL, one can create a Task and assign it to a second user. The Task
(request) may be sent via email (as a Winmail.dat TNEF attachment) to the
second user. If the recipient is using OL, it will automatically recognize
that the incoming email contains a Task (request) and process it accordingly
(prompt user for accept/reject, enter the Task into the Task folder, etc.).
As an analogy, a standard calendar appointment may be created by an external
party/application and sent via email. When the email arrives, OL will
recognize the content as an appointment request and process it accordingly.
In this case, the email just need to be a properly formatted vCal message (or
attachment), typically encoded as plain text.
My question is: what needs to be in the payload (contents of the
Winmail.dat file) of the incoming email for OL to recognize it as an Task
request? I am already able to send a regular SMTP message with attachments;
just like to know what content (or attachment) to send.
One caveat: the app that creates the original Task request may not be
installed on a host that has either OL or Exchange access. This was not a
problem with a calendar appointment as a vCal file is in plain text that one
can generate programmatically. But, I am looking to send a Task request
instead--hence my original question.
Any suggestions or directions to look will be greatly, greatly appreciated!
Thanks,
DG.
"Ken Slovak - [MVP - Outlook]" wrote:
> Is this a task or an email or what? You mentioned originally a task email
> which is confusing. Simple MAPI calls can be used to create a mail item, not
> a task item.
>
> Redemption is a 3rd party library (www.dimastr.com/redemption). It can be
> used to create a new Task item but it would expect Outlook to be there on
> the machine or the standalone server-side Extended MAPI to be there. Even
> without Outlook installed it would want to work with an Exchange mailbox.
>
> If there's no Outlook or Exchange then you wouldn't use Redemption or CDO
> 1.21.
>
> I think your requirements are setting you up for failure.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "DanzerGal" <(E-Mail Removed)> wrote in message
> news:8761BC9F-3D6E-46AF-83A7-(E-Mail Removed)...
> > Hi Ken,
> >
> > Thanks for the reply. I have two follow-up questions:
> >
> > 1. Isn't Simple MAPI just a transport/messaging mechanism. In using
> > Simple
> > MAPI, I am unsure on how to generate the OL Task payload. Any
> > suggestions?
> >
> > 2, For Redemption, same question: How to generate the payload (or, what
> > is
> > the format of the payload) so that OL will recognize the incoming message
> > as
> > a "Task" request and process it accordingly?
> >
> > The reason why I am not using OOM is because the OL Task may need to be
> > generated from systems where OL is not installed.
> >
> > Thanks,
> > DG.
>
>