# 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.
Raw data
{
"_id": null,
"home_page": "",
"name": "access-outlook-email",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,email,outlook,send,send email,save,save email",
"author": "Valentin Baier",
"author_email": "valentin_baier@gmx.de",
"download_url": "https://files.pythonhosted.org/packages/e3/b2/3f224a0e40a3cd2cd08fd882fe1030eb4b6681d9891bcaffcd7cb8b6b68b/access_outlook_email-0.1.6.tar.gz",
"platform": null,
"description": "# Access Outlook Email\r\nThis project contains the basic files to send and save an email/attachment through the module ```exchangelib```.\r\n\r\n## Installation\r\nNote that the module requires ```Python 3.6``` or higher.\r\n\r\nTo install the module, run a pip command like the following:\r\n\r\n\r\n```\r\npip install access_outlook_email\r\n```\r\n\r\n## Usage create_account\r\nSimply import the modules via the following import statements:\r\n```\r\nfrom accessOutlookEmail import create_account\r\naccount = create_account('user@provider.com', '***')\r\n```\r\nThe ```create_account``` function requires your Outlook-Exchange email-address and your password.\r\n\r\n\r\n\r\n## Usage send\r\nSimply import the modules via the following import statements:\r\n\r\n```\r\nfrom accessOutlookEmail import send_email\r\n```\r\n\r\nThe ```send_email``` function requires your account, subject, body, recipients and optional attachments.\r\n\r\nTo send an email, the following code provides the core functionality:\r\n```\r\nsend_email(account, 'TestSubject', 'TestBody', ['recepient@provider.com'], ['path/to/your/attachments'])\r\n```\r\n\r\n\r\n\r\n## Usage save\r\nSimply import the modules via the following import statements:\r\n\r\n```\r\nfrom accessOutlookEmail import save_attachment\r\n```\r\n\r\n\r\nThe ```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.\r\n\r\nTo save an attachment, the following code provides the core functionality:\r\n```\r\nsave_attachment(account, 'TestSubject', 'TestBody', ['recepient@provider.com'])\r\n```\r\n\r\n## License\r\nThis project is licensed by a MIT License.\r\n\r\n## Project status\r\nThe current released version is 0.1.5.\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Send/Save Emails & Attachments via Outlook",
"version": "0.1.6",
"split_keywords": [
"python",
"email",
"outlook",
"send",
"send email",
"save",
"save email"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "6c97417d09aa5e5e962ffc1d9f9a03f5",
"sha256": "000f866b7fb6b611d275553831aab12b1f7cfc969b0a0ae3a2978620ba9046be"
},
"downloads": -1,
"filename": "access_outlook_email-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6c97417d09aa5e5e962ffc1d9f9a03f5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8523,
"upload_time": "2022-12-30T07:40:19",
"upload_time_iso_8601": "2022-12-30T07:40:19.838582Z",
"url": "https://files.pythonhosted.org/packages/df/26/cba1f1953fe6cf0a42ccce83f0150f17b3075cec4e622b74e24d9fb49bc4/access_outlook_email-0.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "4be68cf667fa0e6eae8c0490bf4d99ac",
"sha256": "ad4dc96b1d2ac4e6d3a01a855431499a37c24fc1cef6574621a71c4852da95bb"
},
"downloads": -1,
"filename": "access_outlook_email-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "4be68cf667fa0e6eae8c0490bf4d99ac",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6764,
"upload_time": "2022-12-30T07:38:38",
"upload_time_iso_8601": "2022-12-30T07:38:38.899851Z",
"url": "https://files.pythonhosted.org/packages/e3/b2/3f224a0e40a3cd2cd08fd882fe1030eb4b6681d9891bcaffcd7cb8b6b68b/access_outlook_email-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-30 07:38:38",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "access-outlook-email"
}