6 This addon replaces the default `mail()` function by the `PHPMailer` library, allowing the use of an outbound SMTP server.
11 You can override the default value of the following config keys in your base Friendica install `config/addon.config.php` file:
15 // Enables SMTP relaying for outbound emails
18 // smtp_server (String)
19 // SMTP server host name
20 'smtp_server' => 'smtp.example.com',
22 // smtp_port (Integer)
23 // SMTP server port number
26 // smtp_secure (String)
27 // What kind of encryption to use on the SMTP connection.
28 // Options: '', 'ssl' or 'tls'.
31 // smtp_port_s (Integer)
32 // Secure SMTP server port number
35 // smtp_username (String)
36 // SMTP server authentication user name
37 // Empty string disables authentication
38 'smtp_username' => '',
40 // smtp_password (String)
41 // SMTP server authentication password
42 // Empty string disables authentication
43 'smtp_password' => '',
46 // From address used when using the SMTP server
47 // Example: no-reply@example.com
54 The _PHPMailer addon_ is licensed under the [GNU Affero General Public License v3](https://www.gnu.org/licenses/agpl-3.0.html).
56 The _PHP Mailer_ library is licensed under the [GNU Lesser General Public License](https://www.gnu.org/licenses/lgpl-3.0.html).