Commit 2b28a212 authored by Camilo Nova's avatar Camilo Nova Committed by Tim Graham
Browse files

[1.9.x] Added import in docs/topics/email.txt example.

Backport of a6f856df from master
parent 765f6d80
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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'})