Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Send simple outlook calendar appt from ASP(vb)

Hi All,

I'm looking for a very simple way to send an email from my asp script that will allow users who receive it in Outlook to add it to their calendar. Like an appointment.

Is there a simple way to do this as a link in the body of the email? I've seen some code regarding sending a calendar attachment, but I don't know how to dynamically create an attachment in my script.

I'm using:
CreateObject("CDO.Message") for sending mail.

Note that I am NOT using exchange server. This is for the users personal calendar only. And if people get the email who aren't using outlook, they are out of luck.

Thanks for any tips!
[693 byte] By [Eeve] at [2007-11-11 10:26:59]
# 1 Re: Send simple outlook calendar appt from ASP(vb)
If you have access to a Web server, you can put your vCal file on the server, then include a link to it in your email as you would any other hyperlink. For more information on creating a vCal file, see http://msdn2.microsoft.com/en-us/library/aa260824(VS.60).aspx . You may also simply save an Outlook appointment as a vCal file.
Phil Weber at 2007-11-11 17:22:41 >
# 2 Re: Send simple outlook calendar appt from ASP(vb)
I read about that, but I won't have a vcal file. This will be on the fly. I have a form that users fill out to join a seminar. Then in the email I send them to confirm their signup I want something they can click to add the date to their calendar. Is this even possible without using an attachment? Like some kind of XML embeded in the body?

Everything I've read seems overly complicated when all I want to do is tell outlook that this date should be add-able to the calendar.

Thanks for your help...
Eeve at 2007-11-11 17:23:43 >
# 3 Re: Send simple outlook calendar appt from ASP(vb)
If it's possible, I don't know how. Sorry!
Phil Weber at 2007-11-11 17:24:42 >