Sending an Email from SaaS software
Hi, I know that you can send emails from a server side workflow, but is it possible to send an email from the SaaS software connected to AGOL?
-
Server workflows are not supported in the SaaS environment, so unfortunately sending emails (from a workflow) is not possible.
Depending in what exactly your requirements are, you may be able to use some kind of webservice that sends emails. Here is an example that uses an ArcGIS Webhook. I haven't used this myself though.
Another option may be to use a ‘mailto’ link, which can open the user's email application with a prefilled recipient, subject and body.
0 -
Thank you for your help
0 -
Hi Berend, would you have an example of the mailto option? and how it might work please
0 -
I think I have sorted this - Thanks
0 -
For any future reader, here's how to do it:
Add a Run Command activity to your workflow, set Command Name to system.open-url and Command Parameter to mailto:someone@example.com
Running this will open an e-mail compose window, in whatever the user's default mail application is.
You can optionally set cc, bcc, subject and body by using something like this:
mailto:someone@example.com?cc=someoneelse@example.com&subject=Hi%20there&body=This%20is%20the%20body
Note that special characters should be url-encoded, so %20 rather than a space etc.
0 -
Hi Berend,
I should have added this. Thank you for doing so.
0 -
You can send a web request to the Microsoft Power Automate flow with the relevant email body and have it send the email.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
7 commentaires