ioe-email-stuff


Nameioe-email-stuff JSON
Version 0.0.13 PyPI version JSON
download
home_pagehttps://github.com/george-oconnor/ioe-email-stuff
SummaryEmail sending functionality package
upload_time2023-01-05 11:22:53
maintainer
docs_urlNone
authorgeorge-oconnor (George O' Connor)
requires_python
license
keywords python email outlook send email email attachments mail
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ioe-email-stuff

A package that allows to send emails via a number of different methods from within a python application.

## Installation

Run the following to install:

```python
pip install ioe-email-stuff
```

## Usage

```python
from ioe_email_stuff import send_email

# Send an email - outlook only (for now).
# CC, BCC, attachment and server args not required.
# recipients, cc's and bcc's should be seperated by a semicolon, all in one string.
send_email("SUBJECT", "BODY", "USERNAME", "PASSWORD", "RECIPIENTS", cc="CCs", bcc="BCCs", files=["./ATTACHMENT1.png"], server="smtp.outlook.com")

# recommended way to handle errors is a try/except block:
try:
    semd_email("SUBJECT", "BODY", "USERNAME", "PASSWORD", "RECIPIENTS")
except Exception as e:
    # do something with e
    print(e)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/george-oconnor/ioe-email-stuff",
    "name": "ioe-email-stuff",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,email,outlook,send email,email attachments,mail",
    "author": "george-oconnor (George O' Connor)",
    "author_email": "<george@georgestools.com>",
    "download_url": "https://files.pythonhosted.org/packages/f6/8c/5c148cb896c9b275dd451f5f7d809fc5614f87e1181a4f4c728f75feb818/ioe-email-stuff-0.0.13.tar.gz",
    "platform": null,
    "description": "# ioe-email-stuff\r\n\r\nA package that allows to send emails via a number of different methods from within a python application.\r\n\r\n## Installation\r\n\r\nRun the following to install:\r\n\r\n```python\r\npip install ioe-email-stuff\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\nfrom ioe_email_stuff import send_email\r\n\r\n# Send an email - outlook only (for now).\r\n# CC, BCC, attachment and server args not required.\r\n# recipients, cc's and bcc's should be seperated by a semicolon, all in one string.\r\nsend_email(\"SUBJECT\", \"BODY\", \"USERNAME\", \"PASSWORD\", \"RECIPIENTS\", cc=\"CCs\", bcc=\"BCCs\", files=[\"./ATTACHMENT1.png\"], server=\"smtp.outlook.com\")\r\n\r\n# recommended way to handle errors is a try/except block:\r\ntry:\r\n    semd_email(\"SUBJECT\", \"BODY\", \"USERNAME\", \"PASSWORD\", \"RECIPIENTS\")\r\nexcept Exception as e:\r\n    # do something with e\r\n    print(e)\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Email sending functionality package",
    "version": "0.0.13",
    "split_keywords": [
        "python",
        "email",
        "outlook",
        "send email",
        "email attachments",
        "mail"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2349f1cd7c57fce28df2d7b11d515fa6aa1a0a723dca2f347113504b3784bb48",
                "md5": "cb56ed1e985b22091869aafa6ea594e5",
                "sha256": "c4df66ec9c2cb0a5f713b0c469cebe4f60675454d109da1a86018cc92b285377"
            },
            "downloads": -1,
            "filename": "ioe_email_stuff-0.0.13-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cb56ed1e985b22091869aafa6ea594e5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3483,
            "upload_time": "2023-01-05T11:22:51",
            "upload_time_iso_8601": "2023-01-05T11:22:51.721267Z",
            "url": "https://files.pythonhosted.org/packages/23/49/f1cd7c57fce28df2d7b11d515fa6aa1a0a723dca2f347113504b3784bb48/ioe_email_stuff-0.0.13-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f68c5c148cb896c9b275dd451f5f7d809fc5614f87e1181a4f4c728f75feb818",
                "md5": "58e1fcb93ea872c7a8a508f644771bcd",
                "sha256": "d995c7ce2d045801a8f5209a21353d508b4a33e3f4ace7cc84f721e50b2cb70e"
            },
            "downloads": -1,
            "filename": "ioe-email-stuff-0.0.13.tar.gz",
            "has_sig": false,
            "md5_digest": "58e1fcb93ea872c7a8a508f644771bcd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3247,
            "upload_time": "2023-01-05T11:22:53",
            "upload_time_iso_8601": "2023-01-05T11:22:53.401365Z",
            "url": "https://files.pythonhosted.org/packages/f6/8c/5c148cb896c9b275dd451f5f7d809fc5614f87e1181a4f4c728f75feb818/ioe-email-stuff-0.0.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-05 11:22:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "george-oconnor",
    "github_project": "ioe-email-stuff",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "ioe-email-stuff"
}
        
Elapsed time: 0.03117s