ASP.net (VB) Page to produce an outlook meeting request (mime email route?)

Last post 01-16-2008 3:25 AM by chrisfrederick. 5 replies.

Sort Posts:

  • Idea [Idea] ASP.net (VB) Page to produce an outlook meeting request (mime email route?)

    01-14-2008, 1:50 PM

    Hi All,

    I am building a course booking system. I want the system to put appointments in the users Calendars via the website. All users will have Outlook. It's an exchange system put we have no access to the exchange server.

    I am toying with the idea of send a MIME email in the form of a meeting request to the persons inbox. Outlook automatically puts meeting requests in the calendar so that will take care of it (if I can do it).

    Sending an email is no problem. However, I am not family with how to send an email with the MIME part required. Can someone please help me. Below is a copy of a MIME email with the headers that I presume I have to reproduce in my code.

    Many Thanks,
    Chris.
     

    --------------------------------------------------------------------------

    Delivered-To: chris.surname@company.com
    Received: by 10.142.172.13 with SMTP id u13cs196131wfe;
    Mon, 14 Jan 2008 10:36:38 -0800 (PST)
    Received: by 10.78.131.8 with SMTP id e8mr7860141hud.1.1200335797525;
    Mon, 14 Jan 2008 10:36:37 -0800 (PST)
    Return-Path: <Chris.Surname@Company.co.uk>
    Received: xxxxxxxxxxxxxxxxxxxxxxxxxx

    Received-SPF:
    xxxxxxxxxxxxxxxxxxxxxxxxxx
    Authentication-Results:
    xxxxxxxxxxxxxxxxxxxxxxxxxx
    Received: xxxxxxxxxxxxxxxxxxxxxxxxxx
    Received: xxxxxxxxxxxxxxxxxxxxxxxxxx
    X-MimeOLE: Produced By Microsoft Exchange V6.5
    Content-class: urn:content-classes:calendarmessage
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----_=_NextPart_001_01C856DC.644B728F"
    Subject: Test Subject
    Date: Mon, 14 Jan 2008 18:36:35 -0000
    Message-ID: <959E4DD1A9DCC44CA53DC6F7D5010A06AA3F5E@emailserver.company.com>
    X-MS-Has-Attach:
    X-MS-TNEF-Correlator:
    Thread-Topic: Test Subject
    thread-index: AchW3GSMyBqQBjwIThefUZ+zvgXKCg==
    From: <Chris.Surname@Company.co.uk>
    To: <chris.surname@company.com>
    Cc: <someone@else.com>
    Return-Path: Chris.Surname@Company.co.uk
    X-OriginalArrivalTime: 14 Jan 2008 18:36:36.0206 (UTC)
    FILETIME=[64AF40E0:01C856DC]

    This is a multi-part message in MIME format.

    ------_=_NextPart_001_01C856DC.644B728F
    Content-Type: text/plain; charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable

    When: 14 January 2008 19:00-19:30 (GMT) Greenwich Mean Time : Dublin, Edinb=
    urgh, Lisbon, London.
    Where: Test Location

    *~*~*~*~*~*~*~*~*~*

    Description goes here


    ------_=_NextPart_001_01C856DC.644B728F
    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.7650.5">
    <TITLE>Test Subject</TITLE>
    </HEAD>
    <BODY>
    <!-- Converted from text/rtf format -->

    <P><FONT SIZE=3D2 FACE=3D"Arial">When: 14 January 2008 19:00-19:30 (GMT) Gr=
    eenwich Mean Time : Dublin, Edinburgh, Lisbon, London.</FONT>

    <BR><FONT SIZE=3D2 FACE=3D"Arial">Where: Test Location</FONT>
    </P>

    <P><FONT SIZE=3D2 FACE=3D"Arial">*~*~*~*~*~*~*~*~*~*</FONT>
    </P>

    <P><FONT SIZE=3D2 FACE=3D"Arial">Description goes here</FONT>
    </P>
    </BO=
    DY>
    </HTML>

    ------_=_NextPart_001_01C856DC.644B728F
    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
    TZID:(GMT) 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
    BEGIN:DAYLIGHT
    DTSTART:16010101T010000
    TZOFFSETFROM:+0000
    TZOFFSETTO:+0100
    RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1SU
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    DTSTAMP:20080114T183635Z
    DTSTART;TZID="(GMT) Greenwich Mean Time/Dublin/Edinburgh/London":20080114T1
    90000
    SUMMARY:Test Subject
    UID:040000008200E00074C5B7101A82E00800000000906D8764DC56C801000000000000000
    010000000A396BF3C2C73F74396E9ACB8275AA7BF
    ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="'Chris Surname'":MAILTO:chris.surname@company.com
    ATTENDEE;ROLE=OPT-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="'someone@
    else.com'":MAILTO:someone@else.com
    ORGANIZER;CN="Chris Surname":MAILTO:Chris.Surname@Company.co.uk
    LOCATION:Test Location
    DTEND;TZID="(GMT) Greenwich Mean Time/Dublin/Edinburgh/London":20080114T193
    000
    DESCRIPTION:Description goes here\N
    SEQUENCE:0
    PRIORITY:5
    CLASS:
    CREATED:20080114T183635Z
    LAST-MODIFIED:20080114T183635Z
    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:1401821144
    X-MICROSOFT-CDO-APPT-SEQUENCE:0
    X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20080114T183635Z
    X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20080114T183635Z
    BEGIN:VALARM
    ACTION:DISPLAY
    DESCRIPTION:REMINDER
    TRIGGER;RELATED=START:-PT01H00M00S
    END:VALARM
    END:VEVENT
    END:VCALENDAR

    ------_=_NextPart_001_01C856DC.644B728F--
  • Re: ASP.net (VB) Page to produce an outlook meeting request (mime email route?)

    01-14-2008, 2:58 PM
    • Loading...
    • tfsmag
    • Joined on 01-06-2006, 5:58 PM
    • Danville, Illinois
    • Posts 486

    i've never done what you're trying to do... but this link might help you in the right direction. 

    ------------------------------------------------
    Jeff Turner (simpleModus)

    Don't forget to mark the correct answer for your
    question to help out future visitors!
  • Re: ASP.net (VB) Page to produce an outlook meeting request (mime email route?)

    01-14-2008, 3:50 PM
    • Loading...
    • jim.dvorak
    • Joined on 02-07-2003, 1:40 PM
    • Hamilton, ON
    • Posts 15

    Is it possible that end-users can click a link to open an iCal object to save to their outlook? If so, check http://www.ddaysoftware.com/Pages/Projects/DDay.iCal/ to see if the Class there can help you out.

    --jdd
    Filed under: , ,
  • Re: ASP.net (VB) Page to produce an outlook meeting request (mime email route?)

    01-15-2008, 3:06 AM

    Thanks for the replies.

    Jeff - I have no access to the exchange server directly to employ WebDav. The HTTP connection is blocked by the firewall and won't be released.

    JDD - This requires user interaction (once the email is received) to populate the calendar (i.e. Opening the attachment and clicking Save and Close). A meeting request is automatically put in the calendar as a tentative appointment as soon as reaching the inbox (leaving no action to be taken). I must use this route.

    I've found this thread (http://forums.asp.net/p/1188077/2044335.aspx). The link in the last post produces the Calendar item, however, doesn't email it. I need to email it but embedded as MIME and not as an attachment.

    Chris
     

  • Re: ASP.net (VB) Page to produce an outlook meeting request (mime email route?)

    01-15-2008, 10:22 AM

    While your all silent Big Smile I'm looking at 3 different methods.

    1. Possible Solution At: http://www.velocityreviews.com/forums/t153248-mailmessageheaders-and-contenttype.html - Post 7

    2. Possible Solution At: http://chuckdotnet.blogspot.com/

    3. Paying for a third-party component that does it. (Gggrrrrrr!!!!)

    Regards,

    Chris.

     

  • Re: ASP.net (VB) Page to produce an outlook meeting request (mime email route?)

    01-16-2008, 3:25 AM
    Answer

    Woohoo! Cracked It With Massive Thanks To Chuck Spohr

    http://chuckdotnet.blogspot.com/2007/10/send-outlook-meeting-requests-with.html#links
     

Page 1 of 1 (6 items)
Microsoft Communities
Page view counter