The script step Send Mail doesn't work, error #3 is returned. However, the Open URL script step with the same parameters does work.
Any clue about this error ?
I run FMP 17.0.4
I recently upgraded to MacOS 10.14.3
Eureka for you ! It works !
Could you post a screenshot of the script and all dialogs of the Send Mail script step? And what string are you feeding to Open URL to simulate an email being sent?
The following script "Envoyer reçu par courriel" is in French.
"Ouvrir URL" works, but it is deactivated in the script. "Envoyer courriel" doesn't work.
Hope you can read that.
Here is the dialog box :
Any reason you use $Courriel for your email addresses in the URL but Anciens::Courriel in the send mail step?
Yes, the two are different in that you are using the field value in one, and a variable in the other. You should confirm the script parameter is being passed correctly.
What is the default email program being used here? When you run the Send mail script step, does the email come to the front?
Mail is the default program in my MacOS.
The script parameter is passed correctly (verified with the DataViewer).
Yes, when I use Open URL the email comes to the front.
There is no reason for using variables in the Open URL instead of the field values, apart a shorter Open URL script step.
Open URL works with variables and with field values.
Send Mail doesn't work either with variables or field values or nothing.
I have tried with the "Send Mail Options" blank outside of selecting "Send Via: E-Mail Client". No dialog box comes tot the front. The script debugger windows closes when trying to execute the Send Mail script step.
I am puzzled.
System Preferences > Security & Privacy > Privacy > Automation > FileMaker Pro Advanced > Mail
De rien. You're not the first person I've had to give that answer to. I'm surprised I didn't think of it immediately.
It's on the list of known compatibility issues with Mojave.
Retrieving data ...