Is there any way to have a value such as the EntryID, or even a the date/time stamp (SentOn) when sending email by bringing up the outlook new message window?
Currently I thought of two ways to send email:
DoCmd.SendObject acSendNoObject
or
Dim outobj As Outlook.Application
Dim outmail As Outlook.MailItem
Set outobj = CreateObject("outlook.application")
Set outmail = outobj.CreateItem(olMailItem)
With outmail
.Display
End With
Set outtask = Nothing
Set outobj = Nothing
Now, if I use the second one, would it be possible (and would it work) if I could somehow wait until the message was sent and then grab the EntryID or SentOn value? Or is there some other way to do this?
Currently I thought of two ways to send email:
DoCmd.SendObject acSendNoObject
or
Dim outobj As Outlook.Application
Dim outmail As Outlook.MailItem
Set outobj = CreateObject("outlook.application")
Set outmail = outobj.CreateItem(olMailItem)
With outmail
.Display
End With
Set outtask = Nothing
Set outobj = Nothing
Now, if I use the second one, would it be possible (and would it work) if I could somehow wait until the message was sent and then grab the EntryID or SentOn value? Or is there some other way to do this?