Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How does the property MsgSent of MAPIMessage control work?

Status
Not open for further replies.

pcwc66

IS-IT--Management
Dec 14, 2001
163
US
I'm trying to check whether an email is really sent or not after issuing MAPIMessage.Send(0). It seems to me that MAPIMessage.MsgSent always return .f. The main reason I want to check this is because some users will get the dialog box of the Outlook Security patch to send the email or not. If users choose no, I have no idea how to capture this action. So, I try to check MAPIMessage.MsgSent but it does not seems to work at all.

Thank you for any help.
 
pcwc66

Try using the (1) parameter rather than the (0), this should save a copy of the message in you sent items folder of Outlook.
MAPIMessage.Send(1)
P.S. I have tested this with code not with the Activex controls on a form.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top