J
JordonPilling
HI, i have wrote an ASP 3 application that generates meeting requests
by generating a text files with all the correct headers etc and puts
it in our local exchange pickup folder which then just sends it
accordingly. When sending this to a local exchange accoutn and
receiving it with outlook it works great, but when it sends to my
gmail and back to outlook via pop3 it just comes through as plaint
text:
[SCRUBBED Received by etc]
Content-class: urn:content-classes:calendarmessage
Subject: Meeting Request - Please read
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_230_01C755BF.A41145BF"
Date: Wed, 21 Feb 2007 13:53:17 -0000
X-MimeOLE: Produced By Microsoft Exchange V6.5
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Meeting Request - Please read
Thread-Index: AcdVv6NqQY3PzBunTC29PojQvDOZOwAAAAMg
From: (e-mail address removed)
To: (e-mail address removed)
Return-Path: SCRUBBED
Message-ID: <[email protected]
consulting.co.uk>
X-OriginalArrivalTime: 26 Mar 2007 08:15:27.0319 (UTC)
FILETIME=[E93FE670:01C76F7E]
This is a multi-part message in MIME format.
------_=_NextPart_230_01C755BF.A41145BF
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
When: 24 March 2007 14:00-15:00 (GMT) Greenwich Mean Time : Dublin, =
Edinburgh, Lisbon, London.
Where: Boarding room
*~*~*~*~*~*~*~*~*~*
Description
------_=_NextPart_230_01C755BF.A41145BF
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7651.59">
<TITLE>Meeting Request - Please read</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=3D2 FACE=3D"Arial">When: 24 March 2007 14:00-15:00 =
(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Where: Boarding room</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">*~*~*~*~*~*~*~*~*~*</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Description </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_230_01C755BF.A41145BF
Content-class: urn:content-classes:calendarmessage
Content-Type: text/calendar;
method=REQUEST;
name="meeting.ics"
Content-Transfer-Encoding: 8bit
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for Microsoft Exchange
VERSION:2.0
BEGIN:VTIMEZONE
TZIDGMT) Greenwich Mean Time/Dublin/Edinburgh/London
X-MICROSOFT-CDO-TZID:1
BEGIN:STANDARD
DTSTART:16010101T020000
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
END:STANDARD
BEGINAYLIGHT
DTSTART:16010101T010000
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1SU
ENDAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20070326T091527Z
DTSTART;TZID="(GMT) Greenwich Mean Time/Dublin/Edinburgh/London":
20070324T140000Z
SUMMARY:Meeting Request - Please read
UID:230
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-
ACTION;RSVP=TRUE;CN="SCRUBBED":MAILTO:SCRUBBED
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-
ACTION;RSVP=TRUE;CN="(e-mail address removed)":MAILTO:[email protected]
ORGANIZER;CN="SCRUBBED":MAILTO:SCRUBBED
LOCATION:Boarding room
DTEND;TZID="(GMT) Greenwich Mean Time/Dublin/Edinburgh/London":
20070324T150000Z
DESCRIPTIONescription
SEQUENCE:0
PRIORITY:5
CLASS:
CREATED:20070326T091527Z
LAST-MODIFIED:
STATUS:CONFIRMED
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-OWNERAPPTID:1144334295
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20070222T135317Z
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20070222T135317Z
BEGIN:VALARM
ACTIONISPLAY
DESCRIPTION:REMINDER
TRIGGER;RELATED=STARTT00H15M00S
END:VALARM
END:VEVENT
END:VCALENDAR
------_=_NextPart_230_01C755BF.A41145BF--
Now when i compare the actual headers of the two mails the gmail one
seems to have had the following multipart headers stripped away (these
ARE present on the local exchange version):
------_=_NextPart_230_01C755BF.A41145BF
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
------_=_NextPart_230_01C755BF.A41145BF
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
------_=_NextPart_230_01C755BF.A41145BF
Content-class: urn:content-classes:calendarmessage
Content-Type: text/calendar;
method=REQUEST;
name="meeting.ics"
Content-Transfer-Encoding: 8bit
------_=_NextPart_230_01C755BF.A41145BF--
by generating a text files with all the correct headers etc and puts
it in our local exchange pickup folder which then just sends it
accordingly. When sending this to a local exchange accoutn and
receiving it with outlook it works great, but when it sends to my
gmail and back to outlook via pop3 it just comes through as plaint
text:
[SCRUBBED Received by etc]
Content-class: urn:content-classes:calendarmessage
Subject: Meeting Request - Please read
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_230_01C755BF.A41145BF"
Date: Wed, 21 Feb 2007 13:53:17 -0000
X-MimeOLE: Produced By Microsoft Exchange V6.5
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Meeting Request - Please read
Thread-Index: AcdVv6NqQY3PzBunTC29PojQvDOZOwAAAAMg
From: (e-mail address removed)
To: (e-mail address removed)
Return-Path: SCRUBBED
Message-ID: <[email protected]
consulting.co.uk>
X-OriginalArrivalTime: 26 Mar 2007 08:15:27.0319 (UTC)
FILETIME=[E93FE670:01C76F7E]
This is a multi-part message in MIME format.
------_=_NextPart_230_01C755BF.A41145BF
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
When: 24 March 2007 14:00-15:00 (GMT) Greenwich Mean Time : Dublin, =
Edinburgh, Lisbon, London.
Where: Boarding room
*~*~*~*~*~*~*~*~*~*
Description
------_=_NextPart_230_01C755BF.A41145BF
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7651.59">
<TITLE>Meeting Request - Please read</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=3D2 FACE=3D"Arial">When: 24 March 2007 14:00-15:00 =
(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Where: Boarding room</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">*~*~*~*~*~*~*~*~*~*</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Description </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_230_01C755BF.A41145BF
Content-class: urn:content-classes:calendarmessage
Content-Type: text/calendar;
method=REQUEST;
name="meeting.ics"
Content-Transfer-Encoding: 8bit
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for Microsoft Exchange
VERSION:2.0
BEGIN:VTIMEZONE
TZIDGMT) Greenwich Mean Time/Dublin/Edinburgh/London
X-MICROSOFT-CDO-TZID:1
BEGIN:STANDARD
DTSTART:16010101T020000
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
END:STANDARD
BEGINAYLIGHT
DTSTART:16010101T010000
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1SU
ENDAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20070326T091527Z
DTSTART;TZID="(GMT) Greenwich Mean Time/Dublin/Edinburgh/London":
20070324T140000Z
SUMMARY:Meeting Request - Please read
UID:230
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-
ACTION;RSVP=TRUE;CN="SCRUBBED":MAILTO:SCRUBBED
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-
ACTION;RSVP=TRUE;CN="(e-mail address removed)":MAILTO:[email protected]
ORGANIZER;CN="SCRUBBED":MAILTO:SCRUBBED
LOCATION:Boarding room
DTEND;TZID="(GMT) Greenwich Mean Time/Dublin/Edinburgh/London":
20070324T150000Z
DESCRIPTIONescription
SEQUENCE:0
PRIORITY:5
CLASS:
CREATED:20070326T091527Z
LAST-MODIFIED:
STATUS:CONFIRMED
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-OWNERAPPTID:1144334295
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20070222T135317Z
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20070222T135317Z
BEGIN:VALARM
ACTIONISPLAY
DESCRIPTION:REMINDER
TRIGGER;RELATED=STARTT00H15M00S
END:VALARM
END:VEVENT
END:VCALENDAR
------_=_NextPart_230_01C755BF.A41145BF--
Now when i compare the actual headers of the two mails the gmail one
seems to have had the following multipart headers stripped away (these
ARE present on the local exchange version):
------_=_NextPart_230_01C755BF.A41145BF
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
------_=_NextPart_230_01C755BF.A41145BF
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
------_=_NextPart_230_01C755BF.A41145BF
Content-class: urn:content-classes:calendarmessage
Content-Type: text/calendar;
method=REQUEST;
name="meeting.ics"
Content-Transfer-Encoding: 8bit
------_=_NextPart_230_01C755BF.A41145BF--