Skip to main content

A Simple Email Dispatcher based on top of win32Api

Project description

Outlook Email Dispatcher

A Simple Email Dispatcher based on top of win32Api

Example of Usage:

Create a new Mail

CC and Attachments are Optional

FILES_TO_ATTACH_FOLDER = os.path.join(os.getcwd(), 'files_to_attach')
ATTACHMENTS = [os.path.join(FILES_TO_ATTACH_FOLDER, f) for f in os.listdir(FILES_TO_ATTACH_FOLDER)]

mail = Mail(
     Subject="Your Subject Here",
    To="example@example.com",
    HTMLBody="<h1>Your message Here</h1>",
    CC="example@example.com",
    Attachments=ATTACHMENTS,
)

Initialize Outlook

Instanciate an Object from Outlook Class

outlook = Outlook()

Preview Mail:

outlook.preview(mail)

Send Mail:

outlook.send(mail)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyOutlookDispatcher-0.1.3.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyOutlookDispatcher-0.1.3-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file PyOutlookDispatcher-0.1.3.tar.gz.

File metadata

  • Download URL: PyOutlookDispatcher-0.1.3.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.0 Windows/10

File hashes

Hashes for PyOutlookDispatcher-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b7b76ca924947891bd71148d439520ae05a7e19ec5d4a87ada40c1885e6990bc
MD5 b94ee73b52a60c20a339a9db473e0fe8
BLAKE2b-256 af7bf7b44d855c2d74675ae0b01feb7c82a2e9ed94b89561302c985d6c0ebd8b

See more details on using hashes here.

File details

Details for the file PyOutlookDispatcher-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for PyOutlookDispatcher-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 370e1854c291e986b6d2b668ac4e95141eee24656d77c5b9f9f1633caf964ae1
MD5 5f877f42e76e26ed04168b46c5798683
BLAKE2b-256 15de0275b6fea315e70e8fde1df2bc0b788e87145fdb278cd918a97fdb5ad82d

See more details on using hashes here.

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