save a custom message form as msg file in read mode in outlook 200

G

Guest

Hello everyone,

I created a custom message form in outlook 2000. When I send email to
somebody through this form, I want to save some information into database and
save this message as a .msg file on hardware.

The problem is: when I open the .msg file, the message is opened in compose
mode. What I want is open it in read mode. Dose anybody know how to save a
message as msg file in read mode or open it in read mode?

Any help will be appreciated.

Thanks in advance!
 
S

Sue Mosher [MVP-Outlook]

You'll need to save the message after it lands in the Sent Items folder.
 
G

Guest

Thanks, Sue. Could you please tell me if I want to add the code , where
should I put them in vbscript?
 
S

Sue Mosher [MVP-Outlook]

That's the point -- you can't accomplish this with VBScript behind an
Outlook form. You need to be using application-level code -- at least VBA.
See http://www.outlookcode.com/codedetail.aspx?id=456 for a basic framework
for monitoring the Sent Items folder with VBA code.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Hi Sue,

Thank you very much. I'd like to know if there is a way to catch the send
event in VBA when I send an email through a custom message form? I have a vba
micro now. when I execute the micro, a new custom message form pops up. What
I want to perform is: when I composed the message and click send button, the
program will execute the next step automatically: go to send items folder and
get the item I just sent. Is it possible?
 
G

Guest

Hi Sue,

Thank you very much. I'd like to know if there is a way to catch the send
event in VBA when I send an email through a custom message form? I have a vba
micro now. when I execute the micro, a new custom message form pops up. What
I want to perform is: when I composed the message and click send button, the
program will execute the next step automatically: go to send items folder and
get the item I just sent. Is it possible?
 
S

Sue Mosher [MVP-Outlook]

The code sample that I pointed you to monitors the Sent Items folder for
*all* new items. It is not a macro but an event handler, which is what you
must use since you cannot determine when the item you sent will arrive in
the Sent Items folder.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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