mulian
asked on
CDO: How to use the MAPI msg class / custom form
Hello.
I am trying to develop a small workflow application with Microsoft Outlook 2k / MS Exchange 5.5 SP2.
I use a server-side script that, upon arrival of a new posting, replies to the sender.
This reply usually appears in the IPM.Note format.
In the Oranizational forms library, however, I've created a custom form - IPM.Note.MyCustomForm. The server-side script should send the message using my custom form.
I tried using the Message Object's Type property but failed.
Question:
How do I make this work - even on a computer that does not have the form in the personal forms library (the computer does have access to the organizational library and has to download it - but how?)
Max.
I am trying to develop a small workflow application with Microsoft Outlook 2k / MS Exchange 5.5 SP2.
I use a server-side script that, upon arrival of a new posting, replies to the sender.
This reply usually appears in the IPM.Note format.
In the Oranizational forms library, however, I've created a custom form - IPM.Note.MyCustomForm. The server-side script should send the message using my custom form.
I tried using the Message Object's Type property but failed.
Question:
How do I make this work - even on a computer that does not have the form in the personal forms library (the computer does have access to the organizational library and has to download it - but how?)
Max.
ASKER
Thank you Neo,
well, I realized that I made a spelling mistake!
Instead of using IPM.Post.MyCustomForm I've used IPM.Note.MyCustomForm - that is why of course the standard form was used.
But when I use the form with custom fields, are those custom fields installed on the user's machine, too?
Answer would be very much appreciated.
well, I realized that I made a spelling mistake!
Instead of using IPM.Post.MyCustomForm I've used IPM.Note.MyCustomForm - that is why of course the standard form was used.
But when I use the form with custom fields, are those custom fields installed on the user's machine, too?
Answer would be very much appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!
Set objSession = CreateObject("MAPI.Session
objSession.Logon
Set objMessage = objSession.Outbox.Messages
Note: Took into consideration that the machine is current logged onto the network and has access to the Organization Forms Library. (Form should be downloaded to machine automatically.)