friendica-addons/phpmailer
Philipp Holzer 5c6108b3cc
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 21:44:54 +02:00
..
config [phpmailer] Rework addon 2019-05-26 22:07:19 -04:00
phpmailer [TASK] PHPMailer: Add first version 2019-03-28 13:53:44 +01:00
LICENSE [phpmailer] Add README and LICENSE 2019-05-25 23:46:55 -04:00
phpmailer.php Dynamic config loading 2019-07-16 21:44:54 +02:00
README.md [phpmailer] Add README and LICENSE 2019-05-25 23:46:55 -04:00

PHP Mailer SMTP

by Marcus Mueller

This addon replaces the default mail() function by the PHPMailer library, allowing the use of an outbound SMTP server.

Configuration

You can override the default value of the following config keys in your base Friendica install config/addon.config.php file:

'phpmailer' => [
    // smtp (Boolean)
    // Enables SMTP relaying for outbound emails
    'smtp' => false,

    // smtp_server (String)
    // SMTP server host name
    'smtp_server' => 'smtp.example.com',

    // smtp_port (Integer)
    // SMTP server port number
    'smtp_port' => 25,

    // smtp_secure (String)
    // What kind of encryption to use on the SMTP connection.
    // Options: '', 'ssl' or 'tls'.
    'smtp_secure' => '',

    // smtp_port_s (Integer)
    // Secure SMTP server port number
    'smtp_port_s' => 465,

    // smtp_username (String)
    // SMTP server authentication user name
    // Empty string disables authentication
    'smtp_username' => '',

    // smtp_password (String)
    // SMTP server authentication password
    // Empty string disables authentication
    'smtp_password' => '',

    // smtp_from (String)
    // From address used when using the SMTP server
    // Example: no-reply@example.com
    'smtp_from' => '',
],

License

The PHPMailer addon is licensed under the GNU Affero General Public License v3.

The PHP Mailer library is licensed under the GNU Lesser General Public License.