summaryrefslogtreecommitdiff
path: root/docs/topics/email.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics/email.txt')
-rw-r--r--docs/topics/email.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/email.txt b/docs/topics/email.txt
index a48e18a825..0f0e3bf276 100644
--- a/docs/topics/email.txt
+++ b/docs/topics/email.txt
@@ -226,8 +226,8 @@ both appearing in the "To:"::
["john@example.com", "jane@example.com"],
)
-This sends a message to john@example.com and jane@example.com, with them both
-receiving a separate email::
+This sends a message to ``john@example.com`` and ``jane@example.com``, with
+them both receiving a separate email::
datatuple = (
("Subject", "Message.", "from@example.com", ["john@example.com"]),
@@ -253,8 +253,8 @@ If a ``message`` contains headers at the start of the string, the headers will
be printed as the first bit of the email message.
Here's an example view that takes a ``subject``, ``message`` and ``from_email``
-from the request's POST data, sends that to admin@example.com and redirects to
-"/contact/thanks/" when it's done::
+from the request's POST data, sends that to ``admin@example.com`` and redirects
+to "/contact/thanks/" when it's done::
from django.core.mail import send_mail
from django.http import HttpResponse, HttpResponseRedirect