V
VBJonC
At my old job, we used a management tool that could connect to Outlook
in order to store emails that were sent or received. It was also able
to send Outlook emails from the management tool.
At my new job, I am building my own management tool using Microsoft
Access. It works great and I am able to store sent and received emails
including attachments into my DB for later review.
I want to be able to send emails as well, as above. I am able to
create an outlook email, populate the TO & Subject field, and then
display the email. The user will then add attachments & body info, as
well as additional TO, CC, & BCC as needed. When they press send, I
want to capture what they have done and add it to the DB for later
review.
Based on what I have learned, it appears the old job was opening the
outlook email: display(modal TRUE). This way the code would pause
while the user did their thing and then they could hook the email and
grab all the fields. I have been attempting to replicate this, but
have been unsuccessful. As soon as the send button is pressed, the
email is gone and cannot be accessed.
In doing my research many of you say to not open the email modally as
this can cause other problems. I have no preference as to how I get
the job done, but I want to be able to do as I have described above.
Can anyone provide some insight into how I can get this done? A code
sample would be great, I am really good at chopping up a sample to
suit my needs, but any insight would be greatly appreciated.
I am running Office 2003, on win XP.
in order to store emails that were sent or received. It was also able
to send Outlook emails from the management tool.
At my new job, I am building my own management tool using Microsoft
Access. It works great and I am able to store sent and received emails
including attachments into my DB for later review.
I want to be able to send emails as well, as above. I am able to
create an outlook email, populate the TO & Subject field, and then
display the email. The user will then add attachments & body info, as
well as additional TO, CC, & BCC as needed. When they press send, I
want to capture what they have done and add it to the DB for later
review.
Based on what I have learned, it appears the old job was opening the
outlook email: display(modal TRUE). This way the code would pause
while the user did their thing and then they could hook the email and
grab all the fields. I have been attempting to replicate this, but
have been unsuccessful. As soon as the send button is pressed, the
email is gone and cannot be accessed.
In doing my research many of you say to not open the email modally as
this can cause other problems. I have no preference as to how I get
the job done, but I want to be able to do as I have described above.
Can anyone provide some insight into how I can get this done? A code
sample would be great, I am really good at chopping up a sample to
suit my needs, but any insight would be greatly appreciated.
I am running Office 2003, on win XP.