From ee2af9e2b769f8cd68c042bdad52a28897cd322a Mon Sep 17 00:00:00 2001 From: Rod Begbie Date: Fri, 26 Apr 2013 18:13:50 -0700 Subject: [PATCH] Correct "merge_vars" name in docs Docs incorrectly gives the per-recipient merge variables attribute name as "recipient_merge_vars" instead of the correct name "merge_vars" --- docs/usage/sending_mail.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usage/sending_mail.rst b/docs/usage/sending_mail.rst index cc21ab6..cb3c3b2 100644 --- a/docs/usage/sending_mail.rst +++ b/docs/usage/sending_mail.rst @@ -174,13 +174,13 @@ Most of the options from the Mandrill message.global_merge_vars = {'company': "ACME", 'offer': "10% off"} -.. attribute:: recipient_merge_vars +.. attribute:: merge_vars ``dict``: per-recipient merge variables (most useful with :ref:`mandrill-templates`). The keys in the dict are the recipient email addresses, and the values are dicts of merge vars for each recipient:: - message.recipient_merge_vars = { + message.merge_vars = { 'wiley@example.com': {'offer': "15% off anvils"}, 'rr@example.com': {'offer': "instant tunnel paint"} } @@ -217,7 +217,7 @@ Most of the options from the Mandrill ``dict``: per-recipient metadata values. Keys are the recipient email addresses, and values are dicts of metadata for each recipient (similar to - :attr:`recipient_merge_vars`) + :attr:`merge_vars`) These Mandrill-specific properties work with *any*