yagmail


Nameyagmail JSON
Version 0.15.293 PyPI version JSON
download
home_pagehttps://github.com/kootenpv/yagmail
SummaryYet Another GMAIL client
upload_time2022-09-11 16:23:14
maintainer
docs_urlNone
authorPascal van Kooten
requires_python
licenseMIT
keywords email mime automatic html attachment
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage
            yagmail - Yet another GMAIL / SMTP client
=========================================
`yagmail` is a GMAIL/SMTP client that aims to
make it as simple as possible to send emails.

Sending an Email is as simple:

.. code-block:: python

    import yagmail
    yag = yagmail.SMTP()
    contents = [
        "This is the body, and here is just text http://somedomain/image.png",
        "You can find an audio file attached.", '/local/path/to/song.mp3'
    ]
    yag.send('to@someone.com', 'subject', contents)

    # Alternatively, with a simple one-liner:
    yagmail.SMTP('mygmailusername').send('to@someone.com', 'subject', contents)

Note that yagmail will read the password securely from
your keyring, see the section on
`Username and Password in the repository's README
<https://github.com/kootenpv/yagmail#username-and-password>`_
for further details. If you do not want this, you can
initialize ``yagmail.SMTP`` like this:

.. code-block:: python

    yag = yagmail.SMTP('mygmailusername', 'mygmailpassword')

but honestly, do you want to have your
password written in your script?

For further documentation and examples,
please go to https://github.com/kootenpv/yagmail.

The full documentation is available at
http://yagmail.readthedocs.io/en/latest/.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kootenpv/yagmail",
    "name": "yagmail",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "email mime automatic html attachment",
    "author": "Pascal van Kooten",
    "author_email": "kootenpv@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/4b/4c/4853d3bc34cf68d2a4048e5d82ad7300692edcfe9711013f1f2ce368f188/yagmail-0.15.293.tar.gz",
    "platform": "any",
    "description": "yagmail - Yet another GMAIL / SMTP client\n=========================================\n`yagmail` is a GMAIL/SMTP client that aims to\nmake it as simple as possible to send emails.\n\nSending an Email is as simple:\n\n.. code-block:: python\n\n    import yagmail\n    yag = yagmail.SMTP()\n    contents = [\n        \"This is the body, and here is just text http://somedomain/image.png\",\n        \"You can find an audio file attached.\", '/local/path/to/song.mp3'\n    ]\n    yag.send('to@someone.com', 'subject', contents)\n\n    # Alternatively, with a simple one-liner:\n    yagmail.SMTP('mygmailusername').send('to@someone.com', 'subject', contents)\n\nNote that yagmail will read the password securely from\nyour keyring, see the section on\n`Username and Password in the repository's README\n<https://github.com/kootenpv/yagmail#username-and-password>`_\nfor further details. If you do not want this, you can\ninitialize ``yagmail.SMTP`` like this:\n\n.. code-block:: python\n\n    yag = yagmail.SMTP('mygmailusername', 'mygmailpassword')\n\nbut honestly, do you want to have your\npassword written in your script?\n\nFor further documentation and examples,\nplease go to https://github.com/kootenpv/yagmail.\n\nThe full documentation is available at\nhttp://yagmail.readthedocs.io/en/latest/.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Yet Another GMAIL client",
    "version": "0.15.293",
    "split_keywords": [
        "email",
        "mime",
        "automatic",
        "html",
        "attachment"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "bc8d2546f1d13a1ce2e272e09ab8dd15",
                "sha256": "947a0864e4a64452c8e6b58c80b5bf45389bf8842d779701febfd34fa09649c7"
            },
            "downloads": -1,
            "filename": "yagmail-0.15.293-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bc8d2546f1d13a1ce2e272e09ab8dd15",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 17787,
            "upload_time": "2022-09-11T16:23:12",
            "upload_time_iso_8601": "2022-09-11T16:23:12.908409Z",
            "url": "https://files.pythonhosted.org/packages/0b/7b/f9758da947300b09dedfb08f228fea2f8e09b6d611918ba573ee13744516/yagmail-0.15.293-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "79942d0c69ae86c7d1f8fe6e9a018d57",
                "sha256": "44e8d0cda4f63e22a14902cc9096d52197fd0ced023d50b0409325f401585296"
            },
            "downloads": -1,
            "filename": "yagmail-0.15.293.tar.gz",
            "has_sig": false,
            "md5_digest": "79942d0c69ae86c7d1f8fe6e9a018d57",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 69762,
            "upload_time": "2022-09-11T16:23:14",
            "upload_time_iso_8601": "2022-09-11T16:23:14.905981Z",
            "url": "https://files.pythonhosted.org/packages/4b/4c/4853d3bc34cf68d2a4048e5d82ad7300692edcfe9711013f1f2ce368f188/yagmail-0.15.293.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-09-11 16:23:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "kootenpv",
    "github_project": "yagmail",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": false,
    "tox": true,
    "lcname": "yagmail"
}
        
Elapsed time: 0.01519s