close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
- Timestamp:
-
Aug 22, 2008, 1:40:41 PM (16 years ago)
- Author:
-
cmlenz
- Comment:
-
Document email option changes
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v5
|
v6
|
|
3 | 3 | Various configuration options can be set to influence how various subsystems in the framework go about their work. Setting these options is done by passing them into the `Application` constructor as keyword arguments, or by setting the values in the `app.config` dictionary. |
4 | 4 | |
| 5 | == Email == |
| 6 | |
| 7 | `email_from`:: The default `From` address for outgoing emails. |
| 8 | `smtp_server`:: The host name of the SMTP server to use for outgoing mail. |
| 9 | `smtp_port`:: The port number of the SMTP server (default 25). |
| 10 | `smtp_username`:: The username to use for authentication against the SMTP server. |
| 11 | `smtp_password`:: The password to use for authentication against the SMTP server. |
| 12 | `smtp_tls`:: Whether to use TLS for the SMTP server connection. |
| 13 | |
| 14 | |
| 15 | == Error Handling == |
| 16 | |
| 17 | `debug`:: Whether debugging and developer-oriented error pages should be enabled. |
| 18 | `error_email_to`:: The email address(es) to send [wiki:ErrorHandling#ErrorEmailNotification error notification mails] to. Multiple addresses can be specified by separating them with commas. |
| 19 | |
5 | 20 | == General == |
6 | 21 | |
7 | | `debug`:: Whether debugging and developer-oriented error pages should be enabled |
8 | | |
9 | | == Email == |
10 | | |
11 | | `email_to`:: The default recipient of sent emails |
12 | | `error_email_from`:: The email address to use in the `From` header of outgoing [wiki:ErrorHandling#ErrorEmailNotification error notification mails] |
13 | | `smtp_server`:: The host name of the SMTP server to use for outgoing mail |
14 | | `smtp_port`:: The port number of the SMTP server (default 25) |
15 | | `smtp_username`:: The username to use for authentication against the SMTP server |
16 | | `smtp_password`:: The password to use for authentication against the SMTP server |
17 | | `smtp_tls`:: Whether to use TLS for the SMTP server connection. |
| 22 | `mime_types`:: Path to a custom MIME type mapping file (such as `/etc/mime.types`). |
18 | 23 | |
19 | 24 | == Internationalization == |
20 | 25 | |
21 | | `locale`:: The default locale to use |
22 | | `timezone`:: The timezone to use for date/time display |
| 26 | `locale`:: The default locale to use (for example “de_AT”). |
| 27 | `timezone`:: The default timezone to apply for date/time display (for example “Europe/Berlin”). |
| 28 | |
| 29 | == Security == |
| 30 | |
| 31 | `csrf_protection`:: Whether forms should automatically be protected against Cross-Site Request Forgery (CSRF) attacks. |
23 | 32 | |
24 | 33 | == Templating == |
25 | 34 | |
26 | | `doctype`:: The default `DOCTYPE` to use for rendered HTML pages |
27 | | `reload_templates`:: Whether templates should be automatically reloaded when the underlying file has changed (`true` or `false`) |
28 | | `template_errors`:: How lookup errors in Python code in templates should be treated (`strict` or `lenient`) |
29 | | |
30 | | == Security == |
31 | | |
32 | | `csrf_protection`:: Whether forms should automatically be protected against Cross-Site Request Forgery (CSRF) attacks |
33 | | |
| 35 | `doctype`:: The default `DOCTYPE` to use for rendered HTML pages. |
| 36 | `reload_templates`:: Whether templates should be automatically reloaded when the underlying file has changed (`true` or `false`). |
| 37 | `template_errors`:: How lookup errors in Python code in templates should be treated (`strict` or `lenient`). |