IPM.NOTE - Save to specific Folder

C

Carlos

I successfully implemented Sue Mosher solution to save journal items to a
specific folder ( Microsoft Outlook Programming - Listing 18.3), Sue mentions
it does not work properly for a message form. Not sure if if can not be done
or does not work as is. I want to implement a simmilar approach so that when
email messages from specific users arrive, or are sent to them, I either move
them or copy them to a Public Folders Journal. I am trying to do so by
modifying the IPM.Note form and using VBScript code in the form and then
replacing the default IPM.NOTE form. I have not been able to figure out the
changes needed or which events I could use. I have the functionality working
but I end up with a second copy of the outgoing message in the out box.

Has anyone figure out the correct procedure to accomplish this? THanks
 
S

Sue Mosher [MVP-Outlook]

The registry substitution method for replacing a message form with a custom form is broken for incoming messages in Outlook 2003, so you'll need to use code. There are a variety of methods for working with incoming items, including the Application.NewMailEx event and the other methods shown at http://www.outlookcode.com/d/code/zaphtml.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
A

Amit

Hello Sue,

I read your book and it is prefect. And really looking for your kind help:


I got a question for you.

My requirement is almost same as Andy requested, however, the request here
is to export entire email into the database.

Now, whenever the mail receive, I need to make call to the webservice that
has all data to export into database in XML format. Everything has done,
except that I am unable to know what all new email has been added.

Options that I tried:

NewMail event - it trigger only once even if I receive more than one email.
And since it does not have any parameter to know which item has added, it is
hard to get things done.

NewMailEX (...) where EntityId is a parameter to know Item that has added.
And as per the Microsoft Office website, EntityID parameter contain value
separate with , (comma) if we added more than 1 item. But I could not find
that I am receiving value in with , (comma) separated. I checked in forum
where it saying that it bahave like that when we have Exchange server :( so
this door closed as well!!

ItemAdd(...) The one known issue is that ItemAdd won't fire if more than 16
items are added to the folder at one time.

Any suggestion?

Cheers,
Amit
 
S

Sue Mosher [MVP-Outlook]

I see Ken already answered your question in the addins group, which more appropriate than this one for your issue.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Amit said:
Hello Sue,

I read your book and it is prefect. And really looking for your kind help:


I got a question for you.

My requirement is almost same as Andy requested, however, the request here
is to export entire email into the database.

Now, whenever the mail receive, I need to make call to the webservice that
has all data to export into database in XML format. Everything has done,
except that I am unable to know what all new email has been added.

Options that I tried:

NewMail event - it trigger only once even if I receive more than one email.
And since it does not have any parameter to know which item has added, it is
hard to get things done.

NewMailEX (...) where EntityId is a parameter to know Item that has added.
And as per the Microsoft Office website, EntityID parameter contain value
separate with , (comma) if we added more than 1 item. But I could not find
that I am receiving value in with , (comma) separated. I checked in forum
where it saying that it bahave like that when we have Exchange server :( so
this door closed as well!!

ItemAdd(...) The one known issue is that ItemAdd won't fire if more than 16
items are added to the folder at one time.

Any suggestion?

Cheers,
Amit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top