About Anaconda Help Download Anaconda

atddatms / packages / yagmail 0.10.212

Yet Another GMAIL client

Installers

  • linux-64 v0.10.212
  • osx-64 v0.10.212
  • linux-32 v0.10.212
  • linux-aarch64 v0.10.212
  • linux-armv6l v0.10.212
  • linux-armv7l v0.10.212
  • linux-ppc64le v0.10.212
  • win-32 v0.10.212
  • win-64 v0.10.212

conda install

To install this package run one of the following:
conda install atddatms::yagmail

Description

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('[email protected]', 'subject', contents)

# Alternatively, with a simple one-liner:
yagmail.SMTP('mygmailusername').send('[email protected]', '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/.


© 2026 Anaconda, Inc. All Rights Reserved. (v4.2.17) Legal | Privacy Policy