Changeset 5111
- Timestamp:
- 04/27/07 09:25:05 (1 year ago)
- Files:
-
- django/trunk/docs/email.txt (modified) (1 diff)
- django/trunk/docs/settings.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/email.txt
r4574 r5111 20 20 send_mail('Subject here', 'Here is the message.', 'from@example.com', 21 21 ['to@example.com'], fail_silently=False) 22 22 23 Mail will be sent using the SMTP host and port specified in the `EMAIL_HOST`_ 24 and `EMAIL_PORT`_ settings. The `EMAIL_HOST_USER`_ and `EMAIL_HOST_PASSWORD`_ 25 settings, if set, will be used to authenticate to the 26 SMTP server. 27 23 28 .. note:: 24 29 25 30 The character set of email sent with ``django.core.mail`` will be set to 26 31 the value of your `DEFAULT_CHARSET setting`_. 27 32 28 33 .. _DEFAULT_CHARSET setting: ../settings/#DEFAULT_CHARSET 34 .. _EMAIL_HOST: ../settings/#EMAIL_HOST 35 .. _EMAIL_PORT: ../settings/#EMAIL_PORT 36 .. _EMAIL_HOST_USER: ../settings/#EMAIL_HOST_USER 37 .. _EMAIL_HOST_PASSWORD: ../settings/#EMAIL_HOST_PASSWORD 38 29 39 30 40 send_mail() django/trunk/docs/settings.txt
r5093 r5111 396 396 Default: ``''`` (Empty string) 397 397 398 Username to use for the SMTP server defined in ``EMAIL_HOST``. If empty, 399 Django won't attempt authentication. 398 Password to use for the SMTP server defined in ``EMAIL_HOST``. This setting is 399 used in conjunction with EMAIL_HOST_USER when authenticating to the SMTP server. 400 If either of these settings is empty, Django won't attempt authenticaion. 400 401 401 402 See also ``EMAIL_HOST_USER``.
