A package for sending emails using Outlook and SMTP
Project description
python-mailer
a8mailer is a package for sending emails using Outlook and SMTP.
Installation
To install a8mailer, run the following command:
pip install a8mailer
Usage
To use Mailer, import the a8mailer function and call it with the required arguments:
from a8mailer import a8mailer
# Send an email to one recipient
a8mailer('sender@email.com','password',['recipient@email.com'], 'Subject', 'Body')
# Send an email to multiple recipients
a8mailer('sender@email.com','password', ['recipient1@email.com', 'recipient2@email.com'], 'Subject', 'Body')
# Send an email with CC and BCC recipients
a8mailer('sender@email.com','password',['recipient1@email.com', 'recipient2@email.com'], 'Subject', 'Body',
cc_list=['cc1@email.com', 'cc2@email.com'], bcc_list=['bcc1@email.com', 'bcc2@email.com'])
The a8mailer function has the following parameters:
- luser (str): sender email
- lpass (str): sender password
- to_list (required): List of email addresses to send the email to.
- subject (required): Subject of the email.
- body (required): Body of the email.
- cc_list (optional): List of email addresses to CC the email to.
- bcc_list (optional): List of email addresses to BCC the email to.
License
Mailer is licensed under the MIT License. See the LICENSE file for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file a8mailer-0.1.tar.gz.
File metadata
- Download URL: a8mailer-0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c40a8a5c585988511ca2a27048fb788b2fa64b400e9f23dcab1efdb83f2a780
|
|
| MD5 |
6c74d6a393ba8f3f58a8b02ed8d1ea78
|
|
| BLAKE2b-256 |
56508c3d08667797dade321dca75c58de1558f0f68501566b967c96e6b17a944
|
File details
Details for the file a8mailer-0.1-py3-none-any.whl.
File metadata
- Download URL: a8mailer-0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17fdce0f0b922f417568968e0a4fe920fd976411b56c029120423420d0e04cf3
|
|
| MD5 |
8b4022e67356f4285f95fff1c7802bf1
|
|
| BLAKE2b-256 |
55b49ba7d2035b606d0ebef2eb86ab39314975fd87e948aeef2d4ca5cf246e3e
|