How do I add image attachments to an email that is sent when a hosted feature layer is updated?(python)

112
2
07-15-2019 11:27 PM
Highlighted
New Contributor

I run run a python script which sends an email when the hosted feature layer is updated. The email contains details from the hosted feature layer attributes. (python source is here: http://solutions.arcgis.com/local-government/help/crowdsource-reporter/get-started/email-notificatio...) However, I would like to add image attachments to the email. The images are stored in a related table to the hosted feature service. 

My data is being captured through an App in Appstudio.

Has anyone written some python to do this?

Reply
0 Kudos
2 Replies
Highlighted
Esri Regular Contributor

Simon, 

I am not a Python expert, but I will include Python‌ to see anyone in this group can help. 

What app did you use in AppStudio? Is it custom or QuickReport template? 

Depending on the exact requirements on your app, How you looked at alternative workflows on sending an email after data being captured using Webhook like in Survey123 or using our AppStudio AppFramework Email Composer plugin? 

Thank you,

Erwin

Highlighted
New Contributor

Thanks Erwin. It is a QuickReport template. I will look into these options.

Reply
0 Kudos