#5615: typo in e-mail documenation: "to" address is a string, not a list -------------------------------+-------------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: nobody Status: new | Component: Documentation Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 0 -------------------------------+-------------------------------------------- documentation typo on:
http://www.djangoproject.com/documentation/email/#sending-alternative- content-types The "to" address is not a list: -fix 1- orig: {{{ subject, from_email, to = 'hello', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]' }}} new: {{{ subject, from_email, to = 'hello', '[EMAIL PROTECTED]', ['[EMAIL PROTECTED]'] }}} --- OR --- -fix 2- orig: {{{ msg = EmailMultiAlternatives(subject, text_content, from_email, to) }}} new: {{{ msg = EmailMultiAlternatives(subject, text_content, from_email, [to]) }}} -- Ticket URL: <http://code.djangoproject.com/ticket/5615> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
