|
|
Hi,
I'm hoping to create Outlook (2007) Tasks email from a standalone app w/o using OOM (similar to creating an OL appoinement by sending a vCal item over email). Can someone provide any example (or references)?
Alternatively, what are the specifications for the TNEF attachments in Winmail.dat?
Any help or ideas will be greatly appreciated. Thanks DG.
|
|
TNEF is undocumented, you have to reverse engineer it. Why not use the OOM? Or an alternate API such as Redemption or Simple MAPI?
-- 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" <DanzerGal[ at ]discussions.microsoft.com> wrote in message news:128F9A8A-BDDC-4D0A-AC9B-F34C869BC44B[ at ]microsoft.com...
[Quoted Text] > Hi, > > I'm hoping to create Outlook (2007) Tasks email from a standalone app w/o > using OOM (similar to creating an OL appoinement by sending a vCal item > over > email). Can someone provide any example (or references)? > > Alternatively, what are the specifications for the TNEF attachments in > Winmail.dat? > > Any help or ideas will be greatly appreciated. > Thanks > DG.
|
|
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.
"Ken Slovak - [MVP - Outlook]" wrote:
[Quoted Text] > TNEF is undocumented, you have to reverse engineer it. Why not use the OOM? > Or an alternate API such as Redemption or Simple MAPI? > > -- > 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" <DanzerGal[ at ]discussions.microsoft.com> wrote in message > news:128F9A8A-BDDC-4D0A-AC9B-F34C869BC44B[ at ]microsoft.com... > > Hi, > > > > I'm hoping to create Outlook (2007) Tasks email from a standalone app w/o > > using OOM (similar to creating an OL appoinement by sending a vCal item > > over > > email). Can someone provide any example (or references)? > > > > Alternatively, what are the specifications for the TNEF attachments in > > Winmail.dat? > > > > Any help or ideas will be greatly appreciated. > > Thanks > > DG. > >
|
|
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" <DanzerGal[ at ]discussions.microsoft.com> wrote in message news:8761BC9F-3D6E-46AF-83A7-C069DCED506B[ at ]microsoft.com...
[Quoted Text] > 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.
|
|
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:
[Quoted Text] > 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" <DanzerGal[ at ]discussions.microsoft.com> wrote in message > news:8761BC9F-3D6E-46AF-83A7-C069DCED506B[ at ]microsoft.com... > > 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. > >
|
|
Outside of the Outlook team I don't think anyone knows what the contents of the TNEF in a task request consists of. I certainly don't and have never seen or heard any information on that. So you'd have to reverse engineer the TNEF (if possible).
-- 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" <DanzerGal[ at ]discussions.microsoft.com> wrote in message news:9A719046-630E-4219-B7DA-8BD36855B0F1[ at ]microsoft.com...
[Quoted Text] > 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.
|
|
Hello Ken,
I was afraid you'd say that.
Is the "Task" specification proprietary? Will the OL team folks care to discuss this?
Thanks, DG.
"Ken Slovak - [MVP - Outlook]" wrote:
[Quoted Text] > Outside of the Outlook team I don't think anyone knows what the contents of > the TNEF in a task request consists of. I certainly don't and have never > seen or heard any information on that. So you'd have to reverse engineer the > TNEF (if possible). > > -- > 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" <DanzerGal[ at ]discussions.microsoft.com> wrote in message > news:9A719046-630E-4219-B7DA-8BD36855B0F1[ at ]microsoft.com... > > 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. > >
|
|
All the TNEF used for everything is not documented (at least outside of MS). I doubt that you'd get anywhere trying to get internal documentation, as far as I know reverse engineering is the only way you'd figure it out if you can reverse engineer the TNEF.
You can try contacting MS about this but I think you'll be wasting your time and money.
-- 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" <DanzerGal[ at ]discussions.microsoft.com> wrote in message news:B25BF0BD-C4B5-478D-A142-0DD16F031DD5[ at ]microsoft.com...
[Quoted Text] > Hello Ken, > > I was afraid you'd say that. > > Is the "Task" specification proprietary? Will the OL team folks care to > discuss this? > > Thanks, > DG.
|
|
Hi Ken,
Thank you for your pointers. I will re-evaluate the solution requirements and pursuit other means if needed.
Regards, DG.
"Ken Slovak - [MVP - Outlook]" wrote:
[Quoted Text] > All the TNEF used for everything is not documented (at least outside of MS). > I doubt that you'd get anywhere trying to get internal documentation, as far > as I know reverse engineering is the only way you'd figure it out if you can > reverse engineer the TNEF. > > You can try contacting MS about this but I think you'll be wasting your time > and money. > > -- > 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" <DanzerGal[ at ]discussions.microsoft.com> wrote in message > news:B25BF0BD-C4B5-478D-A142-0DD16F031DD5[ at ]microsoft.com... > > Hello Ken, > > > > I was afraid you'd say that. > > > > Is the "Task" specification proprietary? Will the OL team folks care to > > discuss this? > > > > Thanks, > > DG. > >
|
|
|