Automatically create appointment from ICS attachment

5 pts.
Tags:
Outlook .ics attachment
Outlook 2007
Outlook attachments
Scripting
Hello, I have a client who regularly receives automated emails with .ICS attachments.

I'd like to create a rule that automatically takes these .ICS attachments and create a calendar appointment from them, so the user does not have to do it manually.

I've used the script below to create appointments, however I'm not sure how to create a script that will look at the contents or type of attachment and create the appointment from that.

Any help would be greatly appreciated.

 

Const olAppointmentItem = 1

Set objOutlook = CreateObject("Outlook.Application") Set objAppointment = objOutlook.CreateItem(olAppointmentItem)

objAppointment.Start = #01/30/2011 11:00 AM# objAppointment.Duration = 60 objAppointment.Subject = "Automatically created appointment" objAppointment.Body = "Meeting to discuss stuff." objAppointment.Location = "Conference Room #1" objAppointment.ReminderMinutesBeforeStart = 15 objAppointment.ReminderSet = True   objAppointment.Save

 



Software/Hardware used:
Outlook 2007

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following