WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Creating Outlook "Task" email without using OOM

 
Goto page 1, 2
   Home -> Office -> Interoperability RSS
Next:  Show total messages in Nav screen but unread in O..  
Author Message
DanzerGal

External


Since: Dec 16, 2008
Posts: 6



(Msg. 1) Posted: Tue Dec 16, 2008 1:07 pm
Post subject: Creating Outlook "Task" email without using OOM
Archived from groups: microsoft>public>outlook>interop (more info?)

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.
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2977



(Msg. 2) Posted: Tue Dec 16, 2008 4:14 pm
Post subject: Re: Creating Outlook "Task" email without using OOM [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 RemoveThis @discussions.microsoft.com> wrote in message
news:128F9A8A-BDDC-4D0A-AC9B-F34C869BC44B@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.
Back to top
Login to vote
DanzerGal

External


Since: Dec 16, 2008
Posts: 6



(Msg. 3) Posted: Tue Dec 16, 2008 4:14 pm
Post subject: Re: Creating Outlook "Task" email without using OOM [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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:

> 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.RemoveThis@discussions.microsoft.com> wrote in message
> news:128F9A8A-BDDC-4D0A-AC9B-F34C869BC44B@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.
>
>
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2977



(Msg. 4) Posted: Wed Dec 17, 2008 9:30 am
Post subject: Re: Creating Outlook "Task" email without using OOM [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 DeleteThis @discussions.microsoft.com> wrote in message
news:8761BC9F-3D6E-46AF-83A7-C069DCED506B@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.
Back to top
Login to vote
DanzerGal

External


Since: Dec 16, 2008
Posts: 6



(Msg. 5) Posted: Wed Dec 17, 2008 10:27 am
Post subject: Re: Creating Outlook "Task" email without using OOM [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" <DanzerGal.RemoveThis@discussions.microsoft.com> wrote in message
> news:8761BC9F-3D6E-46AF-83A7-C069DCED506B@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.
>
>
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2977



(Msg. 6) Posted: Wed Dec 17, 2008 1:42 pm
Post subject: Re: Creating Outlook "Task" email without using OOM [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.RemoveThis@discussions.microsoft.com> wrote in message
news:9A719046-630E-4219-B7DA-8BD36855B0F1@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.
Back to top
Login to vote
DanzerGal

External


Since: Dec 16, 2008
Posts: 6



(Msg. 7) Posted: Wed Dec 17, 2008 1:42 pm
Post subject: Re: Creating Outlook "Task" email without using OOM [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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:

> 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 RemoveThis @discussions.microsoft.com> wrote in message
> news:9A719046-630E-4219-B7DA-8BD36855B0F1@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.
>
>
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2977



(Msg. 8) Posted: Thu Dec 18, 2008 10:14 am
Post subject: Re: Creating Outlook "Task" email without using OOM [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.DeleteThis@discussions.microsoft.com> wrote in message
news:B25BF0BD-C4B5-478D-A142-0DD16F031DD5@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.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Interoperability All times are: Eastern Time (US & Canada) (change)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support