EventDetails.MessageID
(1)
Exchange Server
(1)
VB
(1)
ObjSession.GetMessage
(1)
ObjItem.Update
(1)
MorningI
(1)
ObjItem
(1)
Formular
(1)

Change message class

Asked By Thomas Hollenbeck
19-Nov-09 01:00 AM
Good morning,

I have a custom formular for a public folder on a Exchange 2003 system.

My problem is now, that I must change the message class of incoming
messages from extern for this folder.

Is it possible? Can somebody help me?

thanking you in anticipation

What message class are you trying to change to ?

Glen Scales [MVP] replied to Thomas Hollenbeck
20-Nov-09 04:46 PM
What message class are you trying to change to ? if its IPM.Note then there
is patch to do this have a look at
http://support.microsoft.com/?scid=kb;en-us;817809 which details what you
can do.

cheers
Glen

Good MorningI??

Thomas Hollenbeck replied to Glen Scales [MVP]
23-Nov-09 12:58 AM
Good Morning

I??ve created a form, and make it public under the Name IPM.Note.Bestellung
(This form have additional field`s to manage incoming orders, e.g.
agent, job number, and so on)

Thomas



Glen Scales [MVP] schrieb:

Good MorningI find a solution!

Thomas Hollenbeck replied to Thomas Hollenbeck
26-Nov-09 12:27 AM
Good Morning

I find a solution!

Public Sub Folder_OnMessageCreated()
Dim objSession
Dim objItem

Set objSession = EventDetails.Session
Set objItem = objSession.GetMessage(EventDetails.MessageID, Null)
If objItem.Type = "IPM.Note" Then
objItem.Type = "IPM.Note.Bestellung"
objItem.Update
End If

Set objSession = Nothing
Set objItem = Nothing
End Sub


This is the VB Code for the Exchange Server Event Script.



Thomas Hollenbeck schrieb:
Post Question To EggHeadCafe