You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: custom/conf/app.example.ini
+29-23
Original file line number
Diff line number
Diff line change
@@ -1503,39 +1503,45 @@ PATH =
1503
1503
;; Prefix displayed before subject in mail
1504
1504
;SUBJECT_PREFIX =
1505
1505
;;
1506
-
;; Mail server
1507
-
;; Gmail: smtp.gmail.com:587
1508
-
;; QQ: smtp.qq.com:465
1509
-
;; As per RFC 8314 using Implicit TLS/SMTPS on port 465 (if supported) is recommended,
1510
-
;; otherwise STARTTLS on port 587 should be used.
1511
-
;HOST =
1512
-
;;
1513
-
;; Disable HELO operation when hostnames are different.
1514
-
;DISABLE_HELO =
1515
-
;;
1516
-
;; Custom hostname for HELO operation, if no value is provided, one is retrieved from system.
1506
+
;; Mail server protocol. One of "smtp", "smtps", "smtp+startls", "smtp+unix".
1507
+
;; If your provider does not explicitly say which protocol it uses but does provide a port,
1508
+
;; you can set SMTP_PORT instead and this will be inferred.
1509
+
;PROTOCOL =
1510
+
;
1511
+
;; Mail server address, e.g. smtp.gmail.com.
1512
+
;; For smtp+unix, this should be a path to a unix socket instead.
1513
+
;SMTP_ADDR =
1514
+
;;
1515
+
;; Mail server port. Common ports are:
1516
+
;; 25: insecure SMTP
1517
+
;; 465: SMTP Secure
1518
+
;; 587: StartTLS
1519
+
;; If no protocol is specified, it will be inferred by this setting.
1520
+
;SMTP_PORT =
1521
+
;;
1522
+
;; Enable HELO operation. Defaults to true.
1523
+
;ENABLE_HELO = true
1524
+
;;
1525
+
;; Custom hostname for HELO operation.
1526
+
;; If no value is provided, one is retrieved from system.
1517
1527
;HELO_HOSTNAME =
1518
1528
;;
1519
-
;; Whether or not to skip verification of certificates; `true` to disable verification. This option is unsafe. Consider adding the certificate to the system trust store instead.
1520
-
;SKIP_VERIFY = false
1521
-
;;
1522
-
;; Use client certificate
1523
-
;USE_CERTIFICATE = false
1524
-
;CERT_FILE = custom/mailer/cert.pem
1525
-
;KEY_FILE = custom/mailer/key.pem
1529
+
;; If set to `true`, completely ignores server certificate validation errors.
1530
+
;; This option is unsafe. Consider adding the certificate to the system trust store instead.
1531
+
;FORCE_TRUST_SERVER_CERT = false
1526
1532
;;
1527
-
;; Should SMTP connect with TLS, (if port ends with 465 TLS will always be used.)
1528
-
;; If this is false but STARTTLS is supported the connection will be upgraded to TLS opportunistically.
1529
-
;IS_TLS_ENABLED = false
1533
+
;; Use client certificate in connection.
1534
+
;USE_CLIENT_CERT = false
1535
+
;CLIENT_CERT_FILE = custom/mailer/cert.pem
1536
+
;CLIENT_KEY_FILE = custom/mailer/key.pem
1530
1537
;;
1531
1538
;; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <[email protected]>` format
1532
1539
;FROM =
1533
1540
;;
1534
1541
;; Sometimes it is helpful to use a different address on the envelope. Set this to use ENVELOPE_FROM as the from on the envelope. Set to `<>` to send an empty address.
1535
1542
;ENVELOPE_FROM =
1536
1543
;;
1537
-
;; Mailer user name and password
1538
-
;; Please Note: Authentication is only supported when the SMTP server communication is encrypted with TLS (this can be via STARTTLS) or `HOST=localhost`.
1544
+
;; Mailer user name and password, if required by provider.
1539
1545
;USER =
1540
1546
;;
1541
1547
;; Use PASSWD = `your password` for quoting if you use special characters in the password.
0 commit comments