Name | PyEmailHandler JSON |
Version |
0.1.1a0
JSON |
| download |
home_page | |
Summary | A simplified tool for mailing services |
upload_time | 2024-03-14 11:28:46 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | |
keywords |
python
sockets
networking
communication
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# PyEmailHandler
Receive and Send emails at ease.
Intended for quick and easy projects that does not require specific function other than to receive, send and reply to emails.
**Supports:**
* IMAP4
* SMTP
Basic Usage:
**Send Email**
```py
from PyEmailHandler import EmailSMTP
email = EmailSMTP(
username="smtp_username",
password="smtp_password",
sender_mail="sender@example.com",
sender_name="WeSend",
smtp_server="smtp.example.com",
port = 587,
protocol = "starttls"
)
email.start_connection()
email.send(
receiver="recepient@mailaddress.com",
subject="Subject of the e-mail",
body="Content of the e-mail, can be as long as you want"
)
```
**Receive Inbox:**
```py
from PyEmailHandler import EmailIMAP
inbox = EmailIMAP(
username="imap_username",
password="imap_password",
imap_server="imap.example.com",
port=993,
protocol="ssl"
)
inbox.start_connection()
mails = inbox.get_mails()
for mail in mails:
print(mail)
```
Raw data
{
"_id": null,
"home_page": "",
"name": "PyEmailHandler",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "python,sockets,networking,communication",
"author": "",
"author_email": "Kinuseka <support@kinuseka.us>",
"download_url": "https://files.pythonhosted.org/packages/36/9c/b2f3dae68cf8972a54724eb185fddcdcea719db421105b778d57cefcddcc/PyEmailHandler-0.1.1a0.tar.gz",
"platform": null,
"description": "# PyEmailHandler\r\n\r\nReceive and Send emails at ease. \r\n\r\nIntended for quick and easy projects that does not require specific function other than to receive, send and reply to emails.\r\n\r\n**Supports:**\r\n* IMAP4\r\n* SMTP\r\n\r\nBasic Usage: \r\n\r\n**Send Email**\r\n```py\r\nfrom PyEmailHandler import EmailSMTP\r\nemail = EmailSMTP(\r\n username=\"smtp_username\",\r\n password=\"smtp_password\",\r\n sender_mail=\"sender@example.com\",\r\n sender_name=\"WeSend\",\r\n smtp_server=\"smtp.example.com\",\r\n port = 587,\r\n protocol = \"starttls\"\r\n )\r\nemail.start_connection()\r\nemail.send(\r\n receiver=\"recepient@mailaddress.com\",\r\n subject=\"Subject of the e-mail\",\r\n body=\"Content of the e-mail, can be as long as you want\"\r\n)\r\n```\r\n\r\n**Receive Inbox:**\r\n```py\r\nfrom PyEmailHandler import EmailIMAP\r\ninbox = EmailIMAP(\r\n username=\"imap_username\",\r\n password=\"imap_password\",\r\n imap_server=\"imap.example.com\",\r\n port=993,\r\n protocol=\"ssl\" \r\n )\r\ninbox.start_connection()\r\nmails = inbox.get_mails()\r\nfor mail in mails:\r\n print(mail)\r\n```\r\n",
"bugtrack_url": null,
"license": "",
"summary": "A simplified tool for mailing services",
"version": "0.1.1a0",
"project_urls": {
"homepage": "https://gitlab.com/brewedcoffee/PyEmailHandler"
},
"split_keywords": [
"python",
"sockets",
"networking",
"communication"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fbd8a25ac0acfc0116a8d5a8c61d185ce07b3822341361cd782be86dbddbe45e",
"md5": "9826a9e8df37d5a849bcc189ef99e673",
"sha256": "da9f76f8d7454b64bb683f2e7e7939b99b766b1fbaf2469a248bafaccf11d338"
},
"downloads": -1,
"filename": "PyEmailHandler-0.1.1a0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9826a9e8df37d5a849bcc189ef99e673",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5375,
"upload_time": "2024-03-14T11:28:44",
"upload_time_iso_8601": "2024-03-14T11:28:44.647260Z",
"url": "https://files.pythonhosted.org/packages/fb/d8/a25ac0acfc0116a8d5a8c61d185ce07b3822341361cd782be86dbddbe45e/PyEmailHandler-0.1.1a0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "369cb2f3dae68cf8972a54724eb185fddcdcea719db421105b778d57cefcddcc",
"md5": "5a6976b148b72a1d431fe4aa4d0467f7",
"sha256": "62be8d4e37baf5cd16cdc73a3a8612a7c81f8a359186efc346b29febf2d0c5e8"
},
"downloads": -1,
"filename": "PyEmailHandler-0.1.1a0.tar.gz",
"has_sig": false,
"md5_digest": "5a6976b148b72a1d431fe4aa4d0467f7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4722,
"upload_time": "2024-03-14T11:28:46",
"upload_time_iso_8601": "2024-03-14T11:28:46.852968Z",
"url": "https://files.pythonhosted.org/packages/36/9c/b2f3dae68cf8972a54724eb185fddcdcea719db421105b778d57cefcddcc/PyEmailHandler-0.1.1a0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-14 11:28:46",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "brewedcoffee",
"gitlab_project": "PyEmailHandler",
"lcname": "pyemailhandler"
}