# MailToolsBox
MailToolsBox is a Python library for dealing with Email handling in easy way.
## Installation
Use the package manager [pip](https://pypi.org/project/MailToolsBox/) to install MailToolsBox.
`bash pip install MailToolsBox `
#Send Usage
` python import MailToolsBox.mailSender mail = MailToolsBox.mailSender.SendAgent(user_email='username@gmail.com', server_smtp_address='smtp.gmail.com', user_email_password='User Password', port=587) mail.send_mail(recipent_email='user@gmail.com', subject='This is Subject Text', message_Body='This is Body Text') `
# Imap Usage
<pre><code class=”language-python”>
from MailToolsBox.imapClient import ImapAgent
EMAIL_ACCOUNT = “myaddress@gmail.com” PASSWORD = “mypassword” SERVER_ADDRESS = (‘my server address or domain name or ip ex:”imap.gmail.com” ‘)
x = ImapAgent(email_account=EMAIL_ACCOUNT, password=PASSWORD, server_address=SERVER_ADDRESS) x.download_mail_text() # optional parameter : (lookup=’ALL’,save=True,path=’/home/user/’) x.download_mail_json() # return json format | optional parameter : (lookup=’ALL’,save=True,filename=’filename.json’,path=’/home/user/’) x.download_mail_msg() # optional parameter : (lookup=’ALL’,path=’/home/user/’) </code></pre>
## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License [MIT](https://choosealicense.com/licenses/mit/)
Metadata
Release files for MailToolsBox 0.0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| MailToolsBox-0.0.4.3.tar.gz | 3.3 kB | Without provenance | Details |
Release files / MailToolsBox-0.0.4.3.tar.gz
| Download URL | MailToolsBox-0.0.4.3.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52a6fddf339c3882483e221878080dad9e9266bfaee434fe8a9980a1f39ad38c
|
|
BLAKE2b-256 checksum How to use checksums |
0f5571798abb83a3ccaca3d915cbb3aa345cd739ff62c5489b2eadc90425ade6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Security for MailToolsBox 0.0.4.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.