myemail


Namemyemail JSON
Version 0.9.0 PyPI version JSON
download
home_pagehttps://github.com/tct123/myemail
SummaryA simple package to send emails with python
upload_time2024-04-25 15:01:38
maintainerNone
docs_urlNone
authortct123
requires_python<4.0,>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MyEmail
A simple library to send emails with python
## Example
```python
from myemail.myemail import send
import os

sslport = os.getenv("SSLPORT")  # For SSL
password = os.getenv("PASSWORD")
smtpserver = os.getenv("SMTPSERVER")
emailvar = os.getenv("EMAIL")
attachment_path = f"{os.getenv('HOME')}/testfile123.txt"
print(attachment_path)
send(
    msg_content="test",
    from_email=emailvar,
    to_email=emailvar,
    subject="test",
    sslport=sslport,
    password=password,
    attachment_path=attachment_path,
)

```

## Contact
- [GitHub (Repo)](https://github.com/tct123/myemail)
- [GitHub](https://github.com/tct123)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tct123/myemail",
    "name": "myemail",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "tct123",
    "author_email": "42028373+tct123@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/c2/56/fd653c027d3f885fb6ceca20f4d1e8b239c993efa7dafe10b7b7dceee014/myemail-0.9.0.tar.gz",
    "platform": null,
    "description": "# MyEmail\nA simple library to send emails with python\n## Example\n```python\nfrom myemail.myemail import send\nimport os\n\nsslport = os.getenv(\"SSLPORT\")  # For SSL\npassword = os.getenv(\"PASSWORD\")\nsmtpserver = os.getenv(\"SMTPSERVER\")\nemailvar = os.getenv(\"EMAIL\")\nattachment_path = f\"{os.getenv('HOME')}/testfile123.txt\"\nprint(attachment_path)\nsend(\n    msg_content=\"test\",\n    from_email=emailvar,\n    to_email=emailvar,\n    subject=\"test\",\n    sslport=sslport,\n    password=password,\n    attachment_path=attachment_path,\n)\n\n```\n\n## Contact\n- [GitHub (Repo)](https://github.com/tct123/myemail)\n- [GitHub](https://github.com/tct123)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple package to send emails with python",
    "version": "0.9.0",
    "project_urls": {
        "Homepage": "https://github.com/tct123/myemail",
        "Repository": "https://github.com/tct123/myemail"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d903671f25c11d11def26a1a196cd0ca41591277fe0392edf4ae30b42b26b884",
                "md5": "649bb0d32c52699a9ccff0186a1ca24a",
                "sha256": "c76fd1bda9d3facdeef66272fea67b761062ef817238484d4489862db13c634f"
            },
            "downloads": -1,
            "filename": "myemail-0.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "649bb0d32c52699a9ccff0186a1ca24a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 2854,
            "upload_time": "2024-04-25T15:01:37",
            "upload_time_iso_8601": "2024-04-25T15:01:37.402495Z",
            "url": "https://files.pythonhosted.org/packages/d9/03/671f25c11d11def26a1a196cd0ca41591277fe0392edf4ae30b42b26b884/myemail-0.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c256fd653c027d3f885fb6ceca20f4d1e8b239c993efa7dafe10b7b7dceee014",
                "md5": "894a0439de199b81d15fe5c6f3dee8be",
                "sha256": "e351ad3c0128cba0de8f297f111a877bd5645061c227700d213ed64f050a9069"
            },
            "downloads": -1,
            "filename": "myemail-0.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "894a0439de199b81d15fe5c6f3dee8be",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 2239,
            "upload_time": "2024-04-25T15:01:38",
            "upload_time_iso_8601": "2024-04-25T15:01:38.635464Z",
            "url": "https://files.pythonhosted.org/packages/c2/56/fd653c027d3f885fb6ceca20f4d1e8b239c993efa7dafe10b7b7dceee014/myemail-0.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-25 15:01:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tct123",
    "github_project": "myemail",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "myemail"
}
        
Elapsed time: 0.68366s