• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Problem with vCalendar in CFMail tag

Guest
May 06, 2009 May 06, 2009

Copy link to clipboard

Copied

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>

TOPICS
Advanced techniques

Views

2.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 11, 2010 Feb 11, 2010

Copy link to clipboard

Copied

LATEST

Hi there,

I think its because youre using the same UID for all your events. From what I understand, every event needs its own unique reference,

hope that helps.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation