Ticket #24659: 24659.diff

File 24659.diff, 1.5 KB (added by Tim Graham, 10 years ago)
  • docs/topics/email.txt

    diff --git a/docs/topics/email.txt b/docs/topics/email.txt
    index 841b086..adf5424 100644
    a b SMTP backend  
    450450.. class:: backends.smtp.EmailBackend([host=None, port=None, username=None, password=None, use_tls=None, fail_silently=False, use_ssl=None, timeout=None, ssl_keyfile=None, ssl_certfile=None, **kwargs])
    451451
    452452    This is the default backend. Email will be sent through a SMTP server.
    453     The server address and authentication credentials are set in the
    454     :setting:`EMAIL_HOST`, :setting:`EMAIL_PORT`, :setting:`EMAIL_HOST_USER`,
    455     :setting:`EMAIL_HOST_PASSWORD`, :setting:`EMAIL_USE_TLS`,
    456     :setting:`EMAIL_USE_SSL`, :setting:`EMAIL_TIMEOUT`,
    457     :setting:`EMAIL_SSL_CERTFILE` and :setting:`EMAIL_SSL_KEYFILE` settings
    458     in your settings file.
     453
     454    The value for each initialization argument is retrieved from the matching
     455    setting as long as the argument is ``None``:
     456
     457    * ``host``: :setting:`EMAIL_HOST`
     458    * ``port``: :setting:`EMAIL_PORT`
     459    * ``username``: :setting:`EMAIL_HOST_USER`
     460    * ``password``: :setting:`EMAIL_HOST_PASSWORD`
     461    * ``use_tls``: :setting:`EMAIL_USE_TLS`
     462    * ``use_ssl``: :setting:`EMAIL_USE_SSL`
     463    * ``timeout``: :setting:`EMAIL_TIMEOUT`
     464    * ``ssl_keyfile``: :setting:`EMAIL_SSL_KEYFILE`
     465    * ``ssl_certfile``: :setting:`EMAIL_SSL_CERTFILE`
    459466
    460467    The SMTP backend is the default configuration inherited by Django. If you
    461468    want to specify it explicitly, put the following in your settings::
Back to Top