Using Access 2003, and Outlook 2003. I am looping thru a recordset, I want to send an email automatically if a condidtion exists. I get the email formatted properly, but
it simply displays, its not being sent using the sendobject.
strSubj = "6 month notification"
strRecipient = "Smith, Tom (Exchange)"
strBody = "The following ID " & rs!id & Date - rs!DateOn) & " days old"
DoCmd.SendObject acSendNoObject, , , trRecipient, , , strSubj, strBody, True
When I use outlook objects I am being prompted and need to press the enter key.
How can I get around this. The email looks ok, just wont send automatically.
Thanks
it simply displays, its not being sent using the sendobject.
strSubj = "6 month notification"
strRecipient = "Smith, Tom (Exchange)"
strBody = "The following ID " & rs!id & Date - rs!DateOn) & " days old"
DoCmd.SendObject acSendNoObject, , , trRecipient, , , strSubj, strBody, True
When I use outlook objects I am being prompted and need to press the enter key.
How can I get around this. The email looks ok, just wont send automatically.
Thanks