Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7023087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:39:59+00:00 2026-05-27T23:39:59+00:00

I need an example for adding events to my calendars through emails. For example

  • 0

I need an example for adding events to my calendars through emails. For example when I send an email to my clients regarding their appointment, i want them to have an option in the email that will allow them to add the event on their calendar by just clicking on a button or something.

Is there anything out there that someone can direct me to it?

I need this mainly to use it with coldfusion 9.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:40:00+00:00Added an answer on May 27, 2026 at 11:40 pm

    I’d recommend the iCalUs UDF from http://www.cflib.org/udf/icalus

    WebDH provides a great example here.

    Here’s an example using CF9 that I quickly put together but haven’t tested yet.

    <cfscript>
    
        eventStr = {};
        eventStr.organizerName = "John Doe"; //Organizer Name
        eventStr.organizerEmail = "john.doe@email.com"; //Organizer Email
        eventStr.startTime = ParseDateTime("12/30/2011 11:00"); //format: m/d/yyyy HH:mm OR h:mm TT -- this is Eastern time
        eventStr.subject = "Demo Example";
        eventStr.location = "StackOverflow.com";
        eventStr.description = "Example iCalendar using CF9";
    
        // Display in browser
        //pc = getpagecontext().getresponse();
        //pc.getresponse().setcontenttype('text/calendar');
        //pc.setHeader("Content-Disposition","inline;filename=newAppointment.ics");
        //writeOutput(iCalUS(eventStr));
    
        //Email
        m = new mail();
        m.setSubject( "Event" );
        m.setTo( "user@email.com" );
        m.setFrom( "me@email.com" );
        m.setServer( "localhost" );   
        //m.addParam( file="#ACCOUNT_TXT_FILE#" );
        m.addPart( type="text", charset="utf-8", wraptext="72", body="Attached is a calendar event..." );
        m.addPart( type="text/calendar" body="#iCalUS(eventStr)#");
        m.send();
    
    </cfscript>
    

    Here’s another example reference that shows how to email the calendar event.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a method for adding business days in PHP. For example, Friday 12/5
I need some help adding conditions to a linq query. Take this small example
For example, I have a small function that I want it to keep adding
I need an example algorithm that will draw pixels one at a time on
I need an example of the shortest path of a directed cyclic graph from
i need an example of the shortest path of directed graph cycle bye one
For example I need to disable two buttons in runtime. After I disabled first
For example I need to grab from http://gmail.com/ the number of free storage: Over
I need a basic example of how to use the IComparable interface so that
I need a detailed example about session in asp.net using c# For example

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.