Did you get an error message? Can you be more specific about what is "not working"?
-Cameron On Tue, May 17, 2011 at 12:26 PM, Jeff Howard <[email protected]> wrote: > I've not tried to do this before and have looked for some help via Google > but the results I got back aren't working. Does anyone have a good resource > for this? This is on a CF8 server. Here is the code that I'm running. > Eventually, when I get this working the cfmailpart text/calendar will be > dynamic. > > <cfset DTSTART = DateFormat(getEvent.eventStartDateTime,"yyyymmdd") & "T" > & TimeFormat(getEvent.eventStartDateTime, "HHmmss") & "Z"> > <cfset DTEND = DateFormat(getEvent.eventEndDateTime,"yyyymmdd") & > "T" & TimeFormat(getEvent.eventEndDateTime, "HHmmss") & "Z"> > <cfoutput>#DTSTART# - #DTEND#</cfoutput> > > <cfmail to="#request.infoEmail#" replyto="#form.email#" > from="#request.fromEmail#" subject="Event Registration Request" > type="multipart" server="#request.smtpServer#" > port="#request.smtpServerPort#" username="#request.mailUsername#" > password="#request.mailPassword#"> > <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="html"> > <hr> > Sent on #DateFormat(now(), '#request.dateMask#')# @ > #TimeFormat(now(), '#request.timeMask#')# > <hr> > <p><strong>Name :</strong> #form.firstName# > #form.lastName#</p> > <p><strong>Company :</strong> #form.company#</p> > <p><strong>Phone :</strong> #form.phone#</p> > <p><strong>Email :</strong> #form.email#</p> > <hr /> > <p><strong>Event :</strong> #form.event#</p> > <hr /> > </cfmailpart> > <cfmailpart type="text/calendar"> > BEGIN:VCALENDAR > VERSION:2.0 > PRODID:-//hacksw/handcal//NONSGML v1.0//EN > BEGIN:VEVENT > DTSTART:19970714T170000Z > DTEND:19970715T035959Z > SUMMARY:Bastille Day Party > END:VEVENT > END:VCALENDAR > </cfmailpart> > </cfmail> > > Thanks, > Jeff -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: [email protected] ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
