How can I create an .ics file to be emailed from my form submission

  • Profile Image
    Asked on March 20, 2015 at 05:32 PM

    I have a form I created to be filled out by a user in textbox (name, phone, email, date of event, time of event, event name)

    I want to have form results emailed, which Im using your email notifier. ( I know how to do that)

    Then have the results displayed in a thank you page, which im using your thank you page wizard, thank you message with the form fields {example} .


    What I want to do is have the results of the form create an ics file to be attached to the email. So i can quickly click on it in the email and it adds to my calendar.

    or have the form generate a link in the email body that i can click to add to my calendar.


    How can i do this?

  • Profile Image
    Answered on March 20, 2015 at 08:33 PM

    Thank you for contacting us.

    Unfortunately, we do not have an option to create .ics files and we do not support email attachments.

    You can add a custom link to the email, so in theory it is possible to generate the .ics file on the fly by accessing the link. Note, you will need a custom script and hosting for that script somewhere. A script example can be found on the next page.

    If you need any further assistance, please let us know.

  • Profile Image
    Answered on March 20, 2015 at 09:20 PM


    let me know if i get this right or if you can explain how this would function.

    my form will create the email with all the event details, then i receive that email and inside it will have a link to create an ics file?

    what happens when i click the link in the email? Does the script take the information from my email and convert it to an ics file automatically or is this a link that will bring me to another page that i have to fill out all the event details again?

    also this script, where do i insert the code in the email template? or in the body of the form?

  • Profile Image
    Answered on March 20, 2015 at 09:26 PM

    What im trying to do is create a proposal for my services with a date and time have that proposal emailed to my client and my self then if the client agrees to my service i can go back to the email in my phone click a button in the email that adds the event to my google calender. Or both me and the client can add the event to our calendar. 

  • Profile Image
    Answered on March 21, 2015 at 09:48 AM

    Hi ljurada37,

    The script that was provided would have the information entered on your form passed to wherever the script is being hosted. As such the inform would not have to be entered again.

    The script would have to be hosted on a webpage and not within the email itself. You would provide the link to where the script is hosted in the email and the ICS will be created.

    You can provide the link in your notification as well as an auto-responder so that the date will be added to both calendars.

    Thank you.

  • Profile Image
    Answered on March 21, 2015 at 10:50 AM

    ok i got it thank you.

    only problem i think the date and time variable is in unix epoch

    $datestart - the starting date (in seconds since unix epoch)
    $dateend - the ending date (in seconds since unix epoch)
    on my form i have your calendar date and time selector so it shows as mm-dd-yy hh:mm
    but unix epoch is 1426948938
    do you have a calendar that produces this date?
    am i missing something?
  • Profile Image
    Answered on March 21, 2015 at 02:00 PM

    Hi ljurado37,

    Using the date and time field should still successfully work with the script that has been provided as it should apply 0's to the seconds aspects.

    Please inform us if you are still experiencing an issue.

    Thank you.

  • Profile Image
    Answered on March 21, 2015 at 08:05 PM

    ok thank you, I'll give it a try.

  • Profile Image
    Answered on March 21, 2015 at 09:12 PM

    Hi ljurado37,

    You are most welcome. Please inform us if you need any further assistance.

    Thank you.

  • Profile Image
    Answered on June 29, 2016 at 10:15 AM

    We have some good news about this and we wanted to inform you that it is now possible to attach uploaded files to your emails.

    Please see for more information.

  • Profile Image
    Answered on February 28, 2017 at 03:19 PM

    But that still won't generate the ICS file from the submission using the unique answers to date/time/location submitted on the form correct?

  • Profile Image
    Answered on February 28, 2017 at 05:37 PM

    That is correct.  You can attach a predefined .ics file to your emails but it is not possible to generate one based on the form submission data.