1 Reply Latest reply on Feb 12, 2010 3:51 AM by cymon

    Problem with vCalendar in CFMail tag

    JimSatAmerUs

      I've created an Outlook meeting invitation using cfmail and vCalendar and it works under normal conditions. But I have an event that is a three-day class. I attempt to create three invitations within the same cfm file, using three diffeent cfmail tags and using different times, subjects, descriptions, and summaries in the vCalendar. But when the three invitations arrive in my Outlook mailbox, Outlook thinks they are all the same event and posts tentative appointment to the last of the three days, but not to day 1 or day 2. Anyone have any clues as to what I'm doing wrong?

       

      <cfmail to="#form.email#" from="#fromemail#" subject="Event to be named" type="multipart">
      <cfmailparam name="content-class" value="urn:content-classes:calendarmessage">
      <cfmailparam name="Content-Type" value="text">
      <cfmailparam name="method" value="REQUEST">
      <cfmailparam name="charset" value="utf-8">
      <cfmailparam name="Content-Transfer-Encoding" value="7bit">
      <cfmailpart type="text">
      This is your meeting invitation for the following Insurance Administration Training and Development Class:
      August Annuity University Day 3
      </cfmailpart>
      <cfmailpart type="text/calendar">
      BEGIN:VCALENDAR
      PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
      VERSION:2.0
      METHOD:PUBLISH
      BEGIN:VEVENT
      DTSTART:20090820T140000Z
      DTEND:20090820T170000Z
      LOCATION:C5 Main
      TRANSP:OPAQUE
      SEQUENCE:0
      UID:0
      DTSTAMP:#tmstmp#
      DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Insurance Administration Annuity University-- August Day 3\n
      SUMMARY:Class
      PRIORITY:5
      X-MICROSOFT-CDO-IMPORTANCE:1
      CLASS:PUBLIC
      END:VEVENT
      END:VCALENDAR
      </cfmailpart>
      </cfmail>
       
      </cfif>

      <cfif form.session eq "AnnU-2">
         
        <cfmail to="#form.email#" from="#fromemail#" subject="November Day 2 Annuity University Insurance Administration Training and Development Class" type="multipart">
      <cfmailparam name="content-class" value="urn:content-classes:calendarmessage">
      <cfmailparam name="Content-Type" value="text">
      <cfmailparam name="method" value="REQUEST">
      <cfmailparam name="charset" value="utf-8">
      <cfmailparam name="Content-Transfer-Encoding" value="7bit">
      <cfmailpart type="text">
      This is your meeting invitation for the following Insurance Administration Training and Development Class:
      August Annuity University Day 2
      </cfmailpart>
      <cfmailpart type="text/calendar">
      BEGIN:VCALENDAR
      PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
      VERSION:2.0
      METHOD:PUBLISH
      BEGIN:VEVENT
      DTSTART:20091118T150000Z
      DTEND:20091118T180000Z
      LOCATION:C5 Main
      TRANSP:OPAQUE
      SEQUENCE:0
      UID:0
      DTSTAMP:#tmstmp#
      DESCRIPTION:Insurance Administration Annuity University--August Day 2\n
      SUMMARY:summary
      PRIORITY:5
      X-MICROSOFT-CDO-IMPORTANCE:1
      CLASS:PUBLIC
      END:VEVENT
      END:VCALENDAR
      </cfmailpart>
      </cfmail>
       
        <cfmail to="#form.email#" from="#fromemail#" subject="November Day 3 University Insurance Administration Training and Development Class" type="multipart">
      <cfmailparam name="content-class" value="urn:content-classes:calendarmessage">
      <cfmailparam name="Content-Type" value="text">
      <cfmailparam name="method" value="REQUEST">
      <cfmailparam name="charset" value="utf-8">
      <cfmailparam name="Content-Transfer-Encoding" value="7bit">
      <cfmailpart type="text">
      This is your meeting invitation for the following Insurance Administration Training and Development Class:
      August Annuity University Day 3
      </cfmailpart>
      <cfmailpart type="text/calendar">
      BEGIN:VCALENDAR
      PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
      VERSION:2.0
      METHOD:PUBLISH
      BEGIN:VEVENT
      DTSTART:20091119T150000Z
      DTEND:20091119T180000Z
      LOCATION:C5 Main
      TRANSP:OPAQUE
      SEQUENCE:0
      UID:0
      DTSTAMP:#tmstmp#
      DESCRIPTION:Insurance Administration Annuity University--August Day 3\n
      SUMMARY:summary
      PRIORITY:5
      X-MICROSOFT-CDO-IMPORTANCE:1
      CLASS:PUBLIC
      END:VEVENT
      END:VCALENDAR
      </cfmailpart>
      </cfmail>
       
      </cfif>