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 Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page