Question

I was following this blog post http://www.slipstick.com/developer/send-email-outlook-reminders-fires/ for reacting to Outlook 2010 Reminder event. However, I kept getting tripped up because the argument passed to my event handler is a string that seems to be the "Subject" property of the reminder item. In my "ThisOutlookSession" I have the simple code below:

Private Sub Application_Reminder(ByVal Item As Object)
    post_frm Item
End Sub

Everything piece of documentation tells me that the Item should be an AppointmentItem, MailItem, ContactItem, or TaskItem, but I'm definitely getting a String, instead.

Any idea why?

Was it helpful?

Solution

"The Subject property is the default property for Outlook items."

http://msdn.microsoft.com/en-us/library/office/ff865652%28v=office.15%29.aspx

The code in post_frm is processing the default property of the item rather than the item.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top