Metadata-Version: 2.1
Name: pyoutlookdispatcher
Version: 0.1.3
Summary: A Simple Email Dispatcher based on top of win32Api
Author: Rafael Tedesco
Author-email: dev.rafaeltedesco@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: pywin32 (>=303,<304)
Description-Content-Type: text/markdown

# 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)
```



