##// END OF EJS Templates
docs: tweak email documentation - add gmail example...
Mads Kiilerich -
r5844:a5ad2900 default
parent child Browse files
Show More
@@ -55,17 +55,16 b' pdebug = false'
55 #error_email_from = paste_error@example.com
55 #error_email_from = paste_error@example.com
56
56
57 ## SMTP server settings
57 ## SMTP server settings
58 ## Only smtp_server is mandatory. All other settings take the specified default
58 ## If specifying credentials, make sure to use secure connections.
59 ## values.
59 ## Default: Send unencrypted unauthenticated mails to the specified smtp_server.
60 ## For "SSL", use smtp_use_ssl = true and smtp_port = 465.
61 ## For "STARTTLS", use smtp_use_tls = true and smtp_port = 587.
60 #smtp_server = smtp.example.com
62 #smtp_server = smtp.example.com
61 #smtp_username =
63 #smtp_username =
62 #smtp_password =
64 #smtp_password =
63 #smtp_port = 25
65 #smtp_port = 25
66 #smtp_use_ssl = false
64 #smtp_use_tls = false
67 #smtp_use_tls = false
65 #smtp_use_ssl = false
66 ## SMTP authentication parameters to use (e.g. LOGIN PLAIN CRAM-MD5, etc.).
67 ## If empty, use any of the authentication parameters supported by the server.
68 #smtp_auth =
69
68
70 [server:main]
69 [server:main]
71 ## PASTE ##
70 ## PASTE ##
@@ -12,8 +12,17 b' cannot be sent, all mails will show up i'
12 Before any email can be sent, an SMTP server has to be configured using the
12 Before any email can be sent, an SMTP server has to be configured using the
13 configuration file setting ``smtp_server``. If required for that server, specify
13 configuration file setting ``smtp_server``. If required for that server, specify
14 a username (``smtp_username``) and password (``smtp_password``), a non-standard
14 a username (``smtp_username``) and password (``smtp_password``), a non-standard
15 port (``smtp_port``), encryption settings (``smtp_use_tls`` or ``smtp_use_ssl``)
15 port (``smtp_port``), whether to use "SSL" when connecting (``smtp_use_ssl``)
16 and/or specific authentication parameters (``smtp_auth``).
16 or use STARTTLS (``smtp_use_tls``), and/or specify special ESMTP "auth" features
17 (``smtp_auth``).
18
19 For example, for sending through gmail, use::
20
21 smtp_server = smtp.gmail.com
22 smtp_username = username
23 smtp_password = password
24 smtp_port = 465
25 smtp_use_ssl = true
17
26
18
27
19 Application emails
28 Application emails
@@ -49,17 +49,16 b' pdebug = false'
49 #error_email_from = paste_error@example.com
49 #error_email_from = paste_error@example.com
50
50
51 <%text>## SMTP server settings</%text>
51 <%text>## SMTP server settings</%text>
52 <%text>## Only smtp_server is mandatory. All other settings take the specified default</%text>
52 <%text>## If specifying credentials, make sure to use secure connections.</%text>
53 <%text>## values.</%text>
53 <%text>## Default: Send unencrypted unauthenticated mails to the specified smtp_server.</%text>
54 <%text>## For "SSL", use smtp_use_ssl = true and smtp_port = 465.</%text>
55 <%text>## For "STARTTLS", use smtp_use_tls = true and smtp_port = 587.</%text>
54 #smtp_server = smtp.example.com
56 #smtp_server = smtp.example.com
55 #smtp_username =
57 #smtp_username =
56 #smtp_password =
58 #smtp_password =
57 #smtp_port = 25
59 #smtp_port = 25
60 #smtp_use_ssl = false
58 #smtp_use_tls = false
61 #smtp_use_tls = false
59 #smtp_use_ssl = false
60 <%text>## SMTP authentication parameters to use (e.g. LOGIN PLAIN CRAM-MD5, etc.).</%text>
61 <%text>## If empty, use any of the authentication parameters supported by the server.</%text>
62 #smtp_auth =
63
62
64 [server:main]
63 [server:main]
65 %if http_server == 'paste':
64 %if http_server == 'paste':
@@ -50,17 +50,16 b' pdebug = false'
50 #error_email_from = paste_error@example.com
50 #error_email_from = paste_error@example.com
51
51
52 ## SMTP server settings
52 ## SMTP server settings
53 ## Only smtp_server is mandatory. All other settings take the specified default
53 ## If specifying credentials, make sure to use secure connections.
54 ## values.
54 ## Default: Send unencrypted unauthenticated mails to the specified smtp_server.
55 ## For "SSL", use smtp_use_ssl = true and smtp_port = 465.
56 ## For "STARTTLS", use smtp_use_tls = true and smtp_port = 587.
55 #smtp_server = smtp.example.com
57 #smtp_server = smtp.example.com
56 #smtp_username =
58 #smtp_username =
57 #smtp_password =
59 #smtp_password =
58 #smtp_port = 25
60 #smtp_port = 25
61 #smtp_use_ssl = false
59 #smtp_use_tls = false
62 #smtp_use_tls = false
60 #smtp_use_ssl = false
61 ## SMTP authentication parameters to use (e.g. LOGIN PLAIN CRAM-MD5, etc.).
62 ## If empty, use any of the authentication parameters supported by the server.
63 #smtp_auth =
64
63
65 [server:main]
64 [server:main]
66 ## PASTE ##
65 ## PASTE ##
@@ -53,17 +53,16 b' pdebug = false'
53 #error_email_from = paste_error@example.com
53 #error_email_from = paste_error@example.com
54
54
55 ## SMTP server settings
55 ## SMTP server settings
56 ## Only smtp_server is mandatory. All other settings take the specified default
56 ## If specifying credentials, make sure to use secure connections.
57 ## values.
57 ## Default: Send unencrypted unauthenticated mails to the specified smtp_server.
58 ## For "SSL", use smtp_use_ssl = true and smtp_port = 465.
59 ## For "STARTTLS", use smtp_use_tls = true and smtp_port = 587.
58 #smtp_server = smtp.example.com
60 #smtp_server = smtp.example.com
59 #smtp_username =
61 #smtp_username =
60 #smtp_password =
62 #smtp_password =
61 #smtp_port = 25
63 #smtp_port = 25
64 #smtp_use_ssl = false
62 #smtp_use_tls = false
65 #smtp_use_tls = false
63 #smtp_use_ssl = false
64 ## SMTP authentication parameters to use (e.g. LOGIN PLAIN CRAM-MD5, etc.).
65 ## If empty, use any of the authentication parameters supported by the server.
66 #smtp_auth =
67
66
68 [server:main]
67 [server:main]
69 ## PASTE ##
68 ## PASTE ##
General Comments 0
You need to be logged in to leave comments. Login now