From a6f856df52d532d5537191eca237de6efdffe309 Mon Sep 17 00:00:00 2001 From: Camilo Nova Date: Fri, 12 Feb 2016 11:27:23 -0500 Subject: [PATCH] Added import in docs/topics/email.txt example. --- docs/topics/email.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/topics/email.txt b/docs/topics/email.txt index 2b22d3e538..e26bfb3535 100644 --- a/docs/topics/email.txt +++ b/docs/topics/email.txt @@ -279,6 +279,8 @@ All parameters are optional and can be set at any time prior to calling the For example:: + from django.core.mail import EmailMessage + email = EmailMessage('Hello', 'Body goes here', 'from@example.com', ['to1@example.com', 'to2@example.com'], ['bcc@example.com'], reply_to=['another@example.com'], headers={'Message-ID': 'foo'})