# NTLMAIL
### Emailing with SMTP and NTLM made easy
- Easy to Use
- Fast and Reliable
- Based on the <a href="https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-smtpntlm/">original Documentation</a> by Microsoft
```python
from ntlm_auth.ntlm import NtlmContext
from ntlmail import SMTP
# Create NTLM Context for auth
auth = NtlmContext("username", "password", "domain")
# Create SMTP Connection to the Server
conn = SMTP("server.test.com", 587, "test@gmail.com")
# Check if the Server supports NTLM
print(conn.test_NTLM())
# Authenticate via the NTLM Context from above
print(conn.authenticate(auth))
# Ready to send Emails now
print(conn.send_mail("receiver@gmail.com", "Hey there!", "<h1>This email was sent via NTLMAIL</h1>"))
```
## Contributing
- If you have any contribution Ideas or Improvements, don't hesitate adding them!
Change Log
==========
0.0.1 (19/07/2023)
-------------------
- First Release
Raw data
{
"_id": null,
"home_page": "",
"name": "ntlmail",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "NTLM,SMTP,auth,NTLM SMTP auth,NTLM SMTP,SMTP NTLM",
"author": "JJTV1029",
"author_email": "nicjontrickshots@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/62/6a/9e78c98774bfa0bf845f12c0b0d6c2b30352f4898248a2d300978805edb5/ntlmail-0.0.1.tar.gz",
"platform": null,
"description": "# NTLMAIL\r\n### Emailing with SMTP and NTLM made easy\r\n\r\n- Easy to Use\r\n- Fast and Reliable\r\n- Based on the <a href=\"https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-smtpntlm/\">original Documentation</a> by Microsoft\r\n\r\n```python\r\nfrom ntlm_auth.ntlm import NtlmContext\r\nfrom ntlmail import SMTP\r\n\r\n# Create NTLM Context for auth\r\nauth = NtlmContext(\"username\", \"password\", \"domain\")\r\n\r\n# Create SMTP Connection to the Server\r\nconn = SMTP(\"server.test.com\", 587, \"test@gmail.com\")\r\n\r\n# Check if the Server supports NTLM\r\nprint(conn.test_NTLM())\r\n\r\n# Authenticate via the NTLM Context from above\r\nprint(conn.authenticate(auth))\r\n\r\n# Ready to send Emails now\r\nprint(conn.send_mail(\"receiver@gmail.com\", \"Hey there!\", \"<h1>This email was sent via NTLMAIL</h1>\"))\r\n```\r\n\r\n## Contributing\r\n\r\n- If you have any contribution Ideas or Improvements, don't hesitate adding them!\r\n\r\nChange Log\r\n==========\r\n\r\n0.0.1 (19/07/2023)\r\n-------------------\r\n- First Release\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A SMTP Email Client with NTLP as Authentication",
"version": "0.0.1",
"project_urls": null,
"split_keywords": [
"ntlm",
"smtp",
"auth",
"ntlm smtp auth",
"ntlm smtp",
"smtp ntlm"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "626a9e78c98774bfa0bf845f12c0b0d6c2b30352f4898248a2d300978805edb5",
"md5": "da90f8c77e75dd7dcedf0c47d9a9d815",
"sha256": "33f22a5f0ef231e6ad1209fce9b14967b9b374126dbc81f9c6318ba568ac626e"
},
"downloads": -1,
"filename": "ntlmail-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "da90f8c77e75dd7dcedf0c47d9a9d815",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3993,
"upload_time": "2023-07-19T12:49:28",
"upload_time_iso_8601": "2023-07-19T12:49:28.410978Z",
"url": "https://files.pythonhosted.org/packages/62/6a/9e78c98774bfa0bf845f12c0b0d6c2b30352f4898248a2d300978805edb5/ntlmail-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-19 12:49:28",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ntlmail"
}