A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

I send ICS files as attachments and from some outlooks I get back a winmail.dat as confirmation



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 4th 08, 04:08 PM posted to microsoft.public.outlook
Jens[_2_]
external usenet poster
 
Posts: 2
Default I send ICS files as attachments and from some outlooks I get back a winmail.dat as confirmation

Hi!

I've build to tool which creates outlook appointments. I create a ICS
file and send it as a attachment to different receivers. That works
very well.

The receivers can confirm or decline those appointsments and outlook
generates email back to my system. My outlook and other test
installations create email which are readable for me:

----------------------------------
[...mail headers...]
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:2.0
METHOD:REPLY
BEGIN:VEVENT

DTSTART:20080213T090000Z
DTEND:20080213T093000Z
TRANSP:OPAQUE
SEQUENCE:0
UID:epluscrm103
DTSTAMP:20080204T160005Z
SUMMARY:Accepted: 2222 Bitte diesen termin dem kalender hinzufuegen -
muss
wissen\, wie die bestaetiugng aussieht KUNNR 0000228001
PRIORITY:5
X-MICROSOFT-CDO-IMPORTANCE:1
CLASS:PUBLIC
alid
END:VEVENT
END:VCALENDAR
----------------------------------

but the outlook of my customer sends a damned winmail.dat:

----------------------------------
[...mail headers...]
Content-Type: multipart/mixed;
boundary="----_=_NextPart_001_01C86745.00C076DC"
Subject: Zugesagt: TEST-040208 KUNNR 0000228001
Date: Mon, 4 Feb 2008 16:45:45 +0100
Message-ID: xxxxxxxxxxxxxxxxxxxxx
X-MS-Has-Attach:
X-MS-TNEF-Correlator: xxxxxxxxxxxxxxxxxxl
Thread-Topic: TEST-040208 KUNNR 0000228001
thread-index: AchnRP5XqUVAPrFtTUKKGcbevQFe0wAAALQw
From: "Wxxxxx Johann"
To: "xxxxxx CRM"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C86745.00C076DC
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


------_=_NextPart_001_01C86745.00C076DC
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64

eJ8+Ii0PAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAA DoAAEIgAcAIAAAAElQTS5NaWNy
b3NvZnQgU2NoZWR1bGUuTXRnUmVzcFAAVwsBDYAEAAIAAAACAA IAAQSAAQAoAAAAWnVnZXNhZ3Q6
IFRFU1QtMDQwMjA4ICBLVU5OUiAwMDAwMjI4MDAxABoKAQWAAw AOAAAA2AcCAAQAEAAtAC0AAQBQ
AQEGAAMADgAAANgHAgAEABEAAAAAAAEA9wABBwADAA4AAADYBw IABAARAB4AAAABABUBAQgABQAE
AAAA//////wDASCAAwAOAAAA2AcCAAQAEAAtACwAAQBPAQEJgAEAIQAAADY1 MzQ3MTc5OTQyQUM0
NDU5MDE2MjAzRjg3Qjk4MzU0ANMGAQOQBgCsDwAAeQAAAAsAAg ABAAAAAwAmAAAAAAALACsAAAAA
AAMANgAAAAAAQAA5AIAaKgFFZ8gBHgA9AAEAAAALAAAAWnVnZX NhZ3Q6IAAAAgFHAAEAAAA0AAAA
Yz1BVDthPSA7cD1MaWJybztsPUxJQkFURVhDSDE0LTA4MDIwND E1NDU0NFotMTA3NDgyAEAAYAAA
wMj+RmfIAUAAYQAA9KovS2fIAR4AcAABAAAAHgAAAFRFU1QtMD QwMjA4ICBLVU5OUiAwMDAwMjI4
MDAxAAAAAgFxAAEAAAAbAAAAAchnRP5XqUVAPrFtTUKKGcbevQ Fe0wAAALQwAB4AGgwBAAAADwAA
----------------------------------


Of course I can decode this encode64 part but all I get is a
absolutely unreadable winmail.dat. There are many tools which should
be able to convert the winmail.dat code but they are not working very
well.

Is it possible to tell outlook with the ICS calendar file that it
should NOT answer with a winmail.dat file? I need a readable response.
Help help help!

The template for my ICS looks like that:

BEGIN:VCALENDAR
PRODID:-//CMS42 by lemon42//EPLUS CRM//EN
VERSION:2.0
METHOD:{method}
BEGIN:VEVENT
ORGANIZER;CN="EPLUS CRM":MAILTO:{fromemail}
DTSTART:{timestart}
DTEND:{timeend}
LOCATION:{location}
TRANSP:OPAQUE
SEQUENCE:0
UID:{uid}
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="'{empfaengeremail}'":MAILTO:{ empfaengeremail}
DTSTAMP:{timestam}
DESCRIPTION:{description}\n
SUMMARY:{subject}
PRIORITY:5
CLASS:PUBLIC
BEGIN:VALARM
TRIGGER:-PT15M
ACTIONISPLAY
DESCRIPTION:Reminder
END:VALARM
{status}
END:VEVENT
END:VCALENDAR

greetings from vienna,
jens
Ads
  #2  
Old February 4th 08, 05:44 PM posted to microsoft.public.outlook
Michael[_5_]
external usenet poster
 
Posts: 7
Default I send ICS files as attachments and from some outlooks I get back a winmail.dat as confirmation

DONE. That took me hours!!

Solution:
decode64 the attachment, so you get the winmail.dat.
Search for "MtgResp" in the binary. The next byte is the status:

MtgRespP = Accepted
MtgRespA = Tentative
MtgRespN = Declined

To identify the appointment ID you should use a prefix for your
appointment. My script uses:

UID:epluscrm103

So I look for "epluscrm" in the unreadable binary trash and take all
bytes till the next 00-byte.


  #3  
Old February 4th 08, 06:08 PM posted to microsoft.public.outlook
Jens[_2_]
external usenet poster
 
Posts: 2
Default I send ICS files as attachments and from some outlooks I get back a winmail.dat as confirmation

Ups - I sat not at my computer. The question and answer came from the
same person: me. I hope I could help somebody with my solution...
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
windat files I have a nagging problem with attachments to my emails that have the the winmail.dat attachnents Richard Mahan Outlook - General Queries 1 August 20th 07 06:19 PM
open my back up files mohammed iqbal Outlook - General Queries 2 November 14th 06 03:16 PM
How do I get removed attachments back from outlook express Fairbairn Outlook - Using Contacts 1 October 29th 06 02:16 PM
Files to back up aalaan Outlook - General Queries 7 August 31st 06 09:48 PM
when I send an attach to a Mac user he can't open (winmail)? thierry Outlook - Installation 1 June 20th 06 02:07 PM


All times are GMT +1. The time now is 05:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.