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

Examples of Usage:

Send Email with Attachments

import os
from pyoutlookdispatcher import Outlook, Mail

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="Teste",
    To="example@example.com",
    HTMLBody="Teste",
    CC="example@example.com"
)

outlook = Outlook()
outlook.send(mail)

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.4.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.4-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyOutlookDispatcher-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 4a2e623af7188b18f1ca4a1a466ded61552dc7395cd4d1a0cb93ccfdb6dc96a0
MD5 5393c9034709f9403fe9c3f0620d58e7
BLAKE2b-256 a0c776c6d26b56cb68b7407fc665fa12ef5f3d372bc0590d87d33865eeb03805

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for PyOutlookDispatcher-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ae85c07580c135a9a14eb5daac1f62ec044d1c20a24e689b75fe24fa007fdb21
MD5 45e9c77adffaebe4358886e6d692f15e
BLAKE2b-256 1742e62b32ee5b8b926adf47a68a08e33400c0523d5f865211c8eb15087dc002

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