Click to See Complete Forum and Search --> : need VB/MAPI HELP!!!!!


Tim Ratliff
August 23rd, 2001, 07:24 AM
I'm trying to create a VB app that will use a MAPI interface to capture the following information from an email when the user sends the email:

From
To
CC
Subject
Date
Message Text
Attachments

The three questions I have are:

1) Can I capture all of this information with VB? I think VB is limited in the fileds that it can capture with MAPI. So far, I have been able to capture From, Subject, Date, and Message Text, but not To, CC, and Attachments.

2) Is there a way to trigger my program when the user sends the email? The user should be able to turn on the program before they send the email, then when they send the email, the program will capture the information, and then the user can turn off the program (so the program will not run for all emails, just the ones the user wants it to).

3) Also related to the last question is whether this information can be captured from a sent email at all. So far I am only capturing the information from my inbox, but not from a sent message.

I hope my questions make sense. If anyone has any suggestions or answers, I would greatly appreciate it. Please let me know if I need to clarify anything.

Thanks,

Tim Ratliff