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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page