1 from base import Setting, SettingSet
\r
2 from django.utils.translation import ugettext_lazy as _
\r
4 EMAIL_SET = SettingSet('email', _('Email Settings'), _("Email server and other email related settings."), 50)
\r
6 EMAIL_HOST = Setting('EMAIL_HOST', '', EMAIL_SET, dict(
\r
7 label = _("Email Server"),
\r
9 The SMTP server through which your application will be sending emails.
\r
13 EMAIL_PORT = Setting('EMAIL_PORT', 25, EMAIL_SET, dict(
\r
14 label = _("Email Port"),
\r
16 The port on which your SMTP server is listening to. Usually this is 25, but can be something else.
\r
20 EMAIL_HOST_USER = Setting('EMAIL_HOST_USER', '', EMAIL_SET, dict(
\r
21 label = _("Email User"),
\r
23 The username for your SMTP connection.
\r
27 EMAIL_HOST_PASSWORD = Setting('EMAIL_HOST_PASSWORD', '', EMAIL_SET, dict(
\r
28 label = _("Email Password"),
\r
30 The password for your SMTP connection.
\r
34 EMAIL_USE_TLS = Setting('EMAIL_USE_TLS', False, EMAIL_SET, dict(
\r
35 label = _("Use TLS"),
\r
37 Does your SMTP server uses TLS for authentication.
\r
41 DEFAULT_FROM_EMAIL = Setting('DEFAULT_FROM_EMAIL', '', EMAIL_SET, dict(
\r
42 label = _("Site email address"),
\r
44 The address that will show up on the 'from' field on emails sent by your website.
\r
48 EMAIL_SUBJECT_PREFIX = Setting('EMAIL_SUBJECT_PREFIX', '', EMAIL_SET, dict(
\r
49 label = _("Email subject prefix"),
\r
51 Every email sent through your website will have the subject prefixed by this string. It's usually a good idea to have such a prefix so your users can easilly set up a filter on theyr email clients.
\r