I am using Office 365 for MS Access and MS Outlook. I have a macro that, upon opening, fires off queries and attempts to e-mail the last query.
However, when I do, it prompts me with a dialog box that says:
A program is trying to send an email message on your behalf, If this is unexpected, click Deny and verify your antivirus software is up-to-date.
For more information about email safety and how you might be able to avoid getting this warning, click Help.
Allow Deny Help
So far, I've tried this:
https://www.youtube.com/watch?v=3D8M3jo0a7U
Where you go into your MS Outlook settings and turn off warnings. However, it still gives me the same error.
Any ideas?
~~EDIT~~
Adding solution ideas as I attempt them. The following list are failures:
In Outlook: Trust Center -> Programmatic Access -> Disable all security
In MS Access: Trust Center -> Macro Settings -> Enable all macros
Run the registery edit to run system in Admin and try the query again.
CDO.Message
to send e-mail from VBA to O365 with no problems. – Brag