mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
[phpmailer] Rework addon
- Remove redundant uninstall function - Add default config file - Add replyTo support - Add custom headers support - Add plain text-only support - Improve error handling
This commit is contained in:
parent
c228c4523c
commit
c8001ac4c4
2 changed files with 70 additions and 26 deletions
44
phpmailer/config/phpmailer.config.php
Normal file
44
phpmailer/config/phpmailer.config.php
Normal file
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
|
||||
// Warning: Don't change this file! It only holds the default config values for this addon.
|
||||
// Instead overwrite these config values in config/addon.config.php in your Friendica directory
|
||||
|
||||
return [
|
||||
'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' => '',
|
||||
],
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue