Skip to main content

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

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)

Source distribution for MailToolsBox 0.0.4.3
File Size Uploaded
MailToolsBox-0.0.4.3.tar.gz 3.3 kB 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

Release history Release notifications | RSS feed

3.0.0

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0.4

1 release file

0.1.0.3

1 release file

0.1.0.2

1 release file

0.1.0.1

1 release file

0.0.4.6

1 release file

0.0.4.5

1 release file

0.0.4.4

1 release file

This release

0.0.4.3 This release

1 release file

0.0.4.2

1 release file

0.0.4.0

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page