Hey guys...
I've created some VBA code to automatically email my boss using Outlook when any member of staff adds a record to the requisitions table in Access. The same code is used to send an acknowledgement from my boss back to the sender of the original email. My problem is that when the code is excuted from within Access, the Outlook virus and spyware blocking capabilities of Outlook kick in - it brings up a dialog box telling the user that another program is trying to use it to send an email. How do I stop this so that the emails are sent seamlessly and the users do not have to be clicking an Ok button several times to allow emails to be sent?
GOD is in charge, though men may say, "Not so!
I've created some VBA code to automatically email my boss using Outlook when any member of staff adds a record to the requisitions table in Access. The same code is used to send an acknowledgement from my boss back to the sender of the original email. My problem is that when the code is excuted from within Access, the Outlook virus and spyware blocking capabilities of Outlook kick in - it brings up a dialog box telling the user that another program is trying to use it to send an email. How do I stop this so that the emails are sent seamlessly and the users do not have to be clicking an Ok button several times to allow emails to be sent?
GOD is in charge, though men may say, "Not so!