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:07 -0500 |
| commit | 2b28a2123240f5d4adacaa2c74916d35ab1b38ac (patch) | |
| tree | 6803cd080b2251c732524a53a201fa933ebe9813 | |
| parent | 765f6d80414648e64c201f5e05bfd188326abc6a (diff) | |
[1.9.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 ffdc1e41cf..bd546ae990 100644 --- a/docs/topics/email.txt +++ b/docs/topics/email.txt @@ -283,6 +283,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'}) |
