Reply Event

Applies To

AppointmentItem object, ContactItem object, JournalItem object, MailItem object, MeetingRequestItem object, NoteItem object, PostItem object, RemoteItem object, ReportItem object, TaskItem object, TaskRequestItem object.

Description

Occurs when the user selects the Reply action for an Outlook item. Both the original item and the newly created reply item are passed to the event. If you set the return value of this function to False, the Reply action isn't completed and the new item isn't displayed.

Syntax

Function Item_Reply(Response As Object)

Response The item created in response to the event.

See Also

Close event, CustomAction event, CustomPropertyChange event, Forward event, Open event, PropertyChange event, Read event, ReplyAll event, Send event, Write event.

Example

This example sets the Sent Items folder for the reply item to the folder in which the original item resides.

Function Item_Reply(ByVal myResponse)
    Set myResponse.SaveSentMessageFolder = myItem.Parent
End Function