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

  • Thread starter Thread starter Guest
  • Start date Start date
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!
 
You'll need to save the message after it lands in the Sent Items folder.
 
Thanks, Sue. Could you please tell me if I want to add the code , where
should I put them in vbscript?
 
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
 
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?
 
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?
 
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
 
Back
Top