Changeset 2665
- Timestamp:
- 04/10/06 22:23:03 (3 years ago)
- Files:
-
- django/trunk/django/conf/global_settings.py (modified) (1 diff)
- django/trunk/django/core/mail.py (modified) (1 diff)
- django/trunk/docs/settings.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/conf/global_settings.py
r2623 r2665 90 90 EMAIL_HOST = 'localhost' 91 91 92 # Port for sending e-mail. 93 EMAIL_PORT = 25 94 92 95 # Optional SMTP authentication information for EMAIL_HOST. 93 96 EMAIL_HOST_USER = '' django/trunk/django/core/mail.py
r2664 r2665 31 31 """ 32 32 try: 33 server = smtplib.SMTP(settings.EMAIL_HOST )33 server = smtplib.SMTP(settings.EMAIL_HOST, settings.EMAIL_PORT) 34 34 if auth_user and auth_password: 35 35 server.login(auth_user, auth_password) django/trunk/docs/settings.txt
r2548 r2665 335 335 The host to use for sending e-mail. 336 336 337 See also ``EMAIL_PORT``. 338 337 339 EMAIL_HOST_PASSWORD 338 340 ------------------- … … 358 360 359 361 See also ``EMAIL_HOST_PASSWORD``. 362 363 EMAIL_PORT 364 ---------- 365 366 Default: ``25`` 367 368 **New in Django development version.** 369 370 Port to use for the SMTP server defined in ``EMAIL_HOST``. 360 371 361 372 EMAIL_SUBJECT_PREFIX
