Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Yet Another GMAIL client

Project Description

yagmail is a GMAIL/SMTP client that aims to make it as simple as possible to send emails.

Sending an Email is as simple:

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 for further details. If you do not want this, you can initialize yagmail.SMTP like this:

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/.

Release History

Release History

This version
History Node

0.10.209

History Node

0.10.190

History Node

0.9.189

History Node

0.9.179

History Node

0.9.178

History Node

0.9.177

History Node

0.9.176

History Node

0.9.175

History Node

0.8.173

History Node

0.8.172

History Node

0.8.171

History Node

0.8.170

History Node

0.7.165

History Node

0.7.164

History Node

0.6.161

History Node

0.6.159

History Node

0.5.158

History Node

0.5.157

History Node

0.5.156

History Node

0.5.154

History Node

0.5.149

History Node

0.5.148

History Node

0.5.147

History Node

0.5.140

History Node

0.5.136

History Node

0.5.135

History Node

0.4.132

History Node

0.4.131

History Node

0.4.130

History Node

0.4.129

History Node

0.4.127

History Node

0.4.116

History Node

0.4.115

History Node

0.4.114

History Node

0.4.113

History Node

0.4.110

History Node

0.4.102

History Node

0.4.99

History Node

0.4.95

History Node

0.4.93

History Node

0.4.92

History Node

0.4.90

History Node

0.4.89

History Node

0.4.87

History Node

0.4.86

History Node

0.4.84

History Node

0.4.82

History Node

0.3.81

History Node

0.3.80

History Node

0.3.79

History Node

0.3.78

History Node

0.3.76

History Node

0.3.72

History Node

0.3.71

History Node

0.3.70

History Node

0.3.7

History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2b1

History Node

0.2a1

History Node

0.1b3

History Node

0.1b2

History Node

0.1b1

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

History Node

0.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
yagmail-0.10.209-py2.py3-none-any.whl (16.3 kB) Copy SHA256 Checksum SHA256 3.7 Wheel Nov 11, 2017
yagmail-0.10.209.tar.gz (16.8 kB) Copy SHA256 Checksum SHA256 Source Nov 11, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting