Saving an email in an Access Database

30 pts.
Tags:
Development
Microsoft Exchange
Visual Basic
I have a VB6 application that manages tasks. When the status of a tack changes, the program generates an email and sends it thru outlook. I would like to have a table in access to save the emails for the purpose of documentation. Access has a type of object, but when i try to set the field to the MAPIMessage.object I get an error. Is what im trying to do possible and what am I doing wrong? Thanks

Answer Wiki

Thanks. We'll let you know when a new response is added.

Please post your code, line where you get the error and the exact error message

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • BeerMaker
    Normally that kind of error is a type mismatch error. The object in Access and the Mapimessage.Object are 2 different things (even though they have the same name). If you cant get that to work let me suggest that you CC or BCC the email to a logging mailbox so you can look it up from several different machines. Then from the machine that sends the email write the fields to an access table. Setup your access datbase to have columns for SendTo, Subject, MessageText, TimeSent, etc. Good Luck Also search Microsoft.com for information on CDO and CDOSYS. You can use this instead of MAPI/Outlook profiles.
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following