Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

access-outlook-email

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

access-outlook-email

Send/Save Emails & Attachments via Outlook

  • 0.1.6
  • PyPI
  • Socket score

Maintainers
1

Access Outlook Email

This project contains the basic files to send and save an email/attachment through the module exchangelib.

Installation

Note that the module requires Python 3.6 or higher.

To install the module, run a pip command like the following:

pip install access_outlook_email

Usage create_account

Simply import the modules via the following import statements:

from accessOutlookEmail import create_account
account = create_account('user@provider.com', '***')

The create_account function requires your Outlook-Exchange email-address and your password.

Usage send

Simply import the modules via the following import statements:

from accessOutlookEmail import send_email

The send_email function requires your account, subject, body, recipients and optional attachments.

To send an email, the following code provides the core functionality:

send_email(account, 'TestSubject', 'TestBody', ['recepient@provider.com'], ['path/to/your/attachments'])

Usage save

Simply import the modules via the following import statements:

from accessOutlookEmail import save_attachment

The save_attachment function requires your Outlook Exchange Folder, which needs to be located in your inbox. Also it needs a path where to save and an exchangelib account.

To save an attachment, the following code provides the core functionality:

save_attachment(account, 'TestSubject', 'TestBody', ['recepient@provider.com'])

License

This project is licensed by a MIT License.

Project status

The current released version is 0.1.5.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc