appointment from HTML message

Q

q

Hi,
I have to do something, which gives me effects like that:
I'll receive a mail (very important html format) with some information
and a button or something that can create an appointment in my calendar
with reminder

The best way for me would be just appointment message containing html
information and a parameter that says don't delete appointment mail
message after accept from inbox (also very important)

I've thought about a html message, that containing a VBScript, which
can be run by a button, but I don't know if It's possible to do.

I'm new in this area, so if it's stupid question I'm sorry :) else
please give me some advice.
 
G

Guest

You can easily map a custom button on one of your toolbars in an open e-mail
message to create an appointment with specific data by pointing the button to
a macro like this:

Sub CreateAppointment()
Dim objAppt As Outlook.AppointmentItem

Set objAppt = Application.CreateItem(olAppointmentItem)
objAppt.Subject = "My appointment subject"
objAppt.Start = "1/9/2006"
objAppt.ReminderMinutesBeforeStart = 10080 'minutes = 1 week
objAppt.ReminderSet = True
objAppt.Display

Set objAppt = Nothing
End Sub

Futhermore, you cannot easily NOT delete specific Meeting Request items
after you accept them if Outlook is already configured to do so (via Tools ->
Options -> Preferences tab -> E-mail Options -> Advanced E-mail Options ->
"Delete meeting request from Inbox after responding"). To do this likely
requires a COM Add-In (or advanced macro) that monitors the Items.ItemRemove
event for a particular folder. The problem with that approach is that the
event doesn't tell you what was deleted, so you'll have to build in the logic
to cache existing items and look for changes during the ItemRemove event.
Not fun.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top