Skip to main content

UNKNOWN

Project description

===========
PASGIS - Pasadena GIS Utilities for Python
===========

Use this package to send emails to the DoIT GIS city email address. You should provide the method three arguments- message text, message subject, and cc, all as strings. You can CC multiple recipients by separating their email addresses by one space, within the same string (see example below).

How to use the package to send an email and CC one person:

import pasgis
message_text = "Hello, this is a message!"
message_subject = "Notification! Please read ASAP"
cc = "csterling@cityofpasadena.net"

pasgis.email(message text, message subject, cc)


How to use the package to send an email and CC multiple people:

import pasgis

message_text = "Hello, this is a message!"
message_subject = "Notification! Please read ASAP"
cc = "csterling@cityofpasadena.net jrobinson@cityofpasadena.net kfolkins@cityofpasadena.net"

pasgis.email(message text, message subject, cc)

Project details


Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page