Official Addons for the Friendica Communications Platform. (please note that this is a clone of the repository at github, issues are handled there)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Philipp 63fca0af29
Refactoring Core class structures ...
8 months ago
config [phpmailer] Rework addon 3 years ago
vendor [phpmailer] Update phpmailer to v6.5.0 1 year ago
LICENSE [phpmailer] Add README and LICENSE 3 years ago [phpmailer] Add README and LICENSE 3 years ago
composer.json Fix composer 2 years ago
composer.lock Bump phpmailer/phpmailer from 6.1.6 to 6.5.0 in /phpmailer 1 year ago
phpmailer.php Refactoring Core class structures ... 8 months ago


by Marcus Mueller

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


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_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:
    'smtp_from' => '',


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.