e-mail problems

Ethereal

Warcraft III Player
Local time
Today, 14:09
Joined
Jan 17, 2006
Messages
99
Hi I have set up some automated e-mail, My problem now is that when i bring up outlook to send email, I want the users to be able to put their business contacts on there from their address book. Meaning my program does not controll the TO, CC, or BCC...

HOWEVER! I need to create a log of these fields, amongst other things whenever a user emails from my application. IS it possible to pull information like that back off of outlook when they send the email ? or am I SOL ?
 
Your program should very well, control CC, BCC, To, Message & Subject

You're using automation?

Set appOutLook = CreateObject("Outlook.Application")
Set itm = appOutLook.CreateItem(olMailItem)


With itm
.To = strEmail
.CC = "royRogers@Hotmail.com"
.BCC = "Yankeedoo@AOL.com
.Subject = "Invoice from " & varUser
.Body = " and have a great day!"

.Attachments.Add "C\Documents And Settings\Kahuna.jpg"

.Display
'.Send
End With

Set appOutLook = Nothing
Set itm = Nothing
 
PS, I believe you can access the Send Folder, to create a log in access.

check out the Outlook Object model.
If not, before you send, append data to a log table?
 

Users who are viewing this thread

Back
Top Bottom