diff --git a/docs/topics/email.txt b/docs/topics/email.txt index cb6463cb16..ea6212029d 100644 --- a/docs/topics/email.txt +++ b/docs/topics/email.txt @@ -92,7 +92,7 @@ For example, the following code would send two different messages to two different sets of recipients; however, only one connection to the mail server would be opened:: - message1 = ('Subject here', 'Here is the message', 'from@example.com, ['first@example.com', 'other@example.com']) + message1 = ('Subject here', 'Here is the message', 'from@example.com', ['first@example.com', 'other@example.com']) message2 = ('Another Subject', 'Here is another message', 'from@example.com', ['second@test.com']) send_mass_mail((message1, message2), fail_silently=False)