C
Chad
Is there a way to push a task from access to Outlook and
set the time, frequency, subject, message, and to email
address?
Something like:
Dim objOutlook As Object
Dim objOutlookMsg As Object
Dim objOutlookRecip As Object
Dim objSentFolder As Object
Dim myNamespace As NameSpace
Dim myTaskItems As Object
Set objOutlook = CreateObject("Outlook.Application")
Set myNamespace = objOutlook.GetNamespace("MAPI")
Set mytask = myNamespace.GetDefaultFolder(olFolderTasks)
Set mytask = mytask.Parent.Folders.Add
("IPM.Task.myTask") 'This is not inserting a task - only
a folder named "IPM.Task.myTask"
Need the SendToAddress
Need to populate the Subject field
Need to populate the Message field
Need to set to email daily at a certain time
Thanks
Chad
set the time, frequency, subject, message, and to email
address?
Something like:
Dim objOutlook As Object
Dim objOutlookMsg As Object
Dim objOutlookRecip As Object
Dim objSentFolder As Object
Dim myNamespace As NameSpace
Dim myTaskItems As Object
Set objOutlook = CreateObject("Outlook.Application")
Set myNamespace = objOutlook.GetNamespace("MAPI")
Set mytask = myNamespace.GetDefaultFolder(olFolderTasks)
Set mytask = mytask.Parent.Folders.Add
("IPM.Task.myTask") 'This is not inserting a task - only
a folder named "IPM.Task.myTask"
Need the SendToAddress
Need to populate the Subject field
Need to populate the Message field
Need to set to email daily at a certain time
Thanks
Chad