Select to view content in your preferred language

Include Attachments in group.notify() Function

35
0
yesterday
Status: Open
Labels (1)
CodyPatterson
Regular Contributor

Hey All,

An issue I recently encountered brought up this idea, the ArcGIS API for Python has the ability to send out emails without the use of SMTP by using gis.group.get('groupID').notify() which notified a list of users in a group with a subject and message.

I frequently use Excel sheets and when attempting to send them via email, this is impossible using this method. Instead, I would need to send the email out to an AGOL link to the Excel sheet hosted on there, which is not only inconvenient code wise and creates many more lines, but also inconveniences the user, especially if they are not a user on AGOL.

I propose an attachment argument be added to this notify function, something like notify(attachment=attachment) which would allow attachments to be added to the notification.

If any clarification is needed, please let me know!

Cody