it depends on how you implement automation.
are you calling osascript via launch-external-process?

to control the Mail app, normally you need to use 
AEDeterminePermissionToAutomateTarget
https://github.com/miyako/4d-plugin-apple-file-promises/blob/master/apple-file-promises/4DPlugin.cpp

to prompt the "4D is requesting permission to..." dialog and ask for the user's 
permission.
if the user agrees, the app will be added to the list of granted apps in system 
preferences/security/privacy. 

this is only for Apple apps, I think Outlook does't care.
if neither apps are responding, the reason must be something else.

> 2020/12/04 5:30、Peter Adam via 4D_Tech <[email protected]>のメール:
> I have an app where when the user wants to send an email from 4D, the program 
> builds an AppleScript to communicate with either Mail or Outlook.
**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to