diff options
| author | Camilo Nova <camilo.nova@gmail.com> | 2016-02-12 11:27:23 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-02-12 13:45:13 -0500 |
| commit | b9105e7deaa3ca73f6117115a47e3b4cde27eb09 (patch) | |
| tree | e0ffc0ded575d1025946a91902d494645646d7db | |
| parent | 3af5643d82735a2831a828609397af1a271a814a (diff) | |
[1.8.x] Added import in docs/topics/email.txt example.
Backport of a6f856df52d532d5537191eca237de6efdffe309 from master
| -rw-r--r-- | docs/topics/email.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/topics/email.txt b/docs/topics/email.txt index 4a23f2cc91..05d7bb2954 100644 --- a/docs/topics/email.txt +++ b/docs/topics/email.txt @@ -287,6 +287,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'}) |
