From 2e12966228b50fba6f410c6900cecdb9c8fe5447 Mon Sep 17 00:00:00 2001 From: Sergey Lavrinenko Date: Wed, 8 Apr 2015 19:16:44 +0300 Subject: [PATCH] SMTP auth example --- docs/examples.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples.rst b/docs/examples.rst index fd51fad..d4ad6dc 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -67,7 +67,7 @@ Send and get response from smtp server: r = message.send(to=('John Brown', 'jbrown@gmail.com'), render={'name': 'John'}, - smtp={'host':'smtp.mycompany.com', 'port': 465, 'ssl': True}) + smtp={'host':'smtp.mycompany.com', 'port': 465, 'ssl': True, 'user': 'john', 'password': '***'}) assert r.status_code == 250