Thanks, Sue. Could you please tell me if I want to add the code , where
should I put them in vbscript?
> You'll need to save the message after it lands in the Sent Items folder.
> > Hello everyone,
[quoted text clipped - 12 lines]
> >
> > Thanks in advance!
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.

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Thanks, Sue. Could you please tell me if I want to add the code , where
> should I put them in vbscript?
[quoted text clipped - 18 lines]
>> >
>> > Thanks in advance!
lily - 22 Nov 2004 22:17 GMT
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?
> 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.
[quoted text clipped - 23 lines]
> >> >
> >> > Thanks in advance!
Sue Mosher [MVP-Outlook] - 23 Nov 2004 13:59 GMT
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.

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hi Sue,
>
[quoted text clipped - 40 lines]
>> >> >
>> >> > Thanks in advance!
lily - 22 Nov 2004 22:19 GMT
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?
> 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.
[quoted text clipped - 23 lines]
> >> >
> >> > Thanks in advance!