Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CDO: How to use the MAPI msg class / custom form

Posted on 2000-04-08
4
Medium Priority
?
238 Views
Last Modified: 2008-02-26
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.
0
Comment
Question by:mulian
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Neo_mvps
ID: 2696703
Try this to see if it works for you.

Set objSession = CreateObject("MAPI.Session")
objSession.Logon
Set objMessage = objSession.Outbox.Messages.Add type:="IPM.Note.MyCustomForm"


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.)
0
 

Author Comment

by:mulian
ID: 2705226
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.
0
 
LVL 16

Accepted Solution

by:
Neo_mvps earned 600 total points
ID: 2706009
Yes.  Just keep in mind that each time you update the form you should increment the version number so Outlook will know when to pull a modified copy.
0
 

Author Comment

by:mulian
ID: 2706689
Thank you!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Changing a few Outlook Options can help keep you organized!
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question