How to add event to iCal / Outlook / gmail from webpage?

前端 未结 1 1238
别那么骄傲
别那么骄傲 2020-12-12 01:36

include a link to download an .ics / .iCal file? attach .ics file through email?

How to construct the file? Where to find the spec?

What\'re the benefits o

1条回答
  •  攒了一身酷
    2020-12-12 02:07

    There seems to be plenty of hits for the first part of your question on Google. Also try CFLIB.org search and you can see how the function creates the text string http://www.google.co.uk/search?q=iCal+and+ColdFusion

    To download, write out the string to the browser using CFCONTENT. To attach to an email, write out the string to a temporary file and you can use CFMAILPARAM to attach it. Those are a couple of ways.

    0 讨论(0)
提交回复
热议问题