Fix invalid "emailer_prepare" Hook

- Use IEmail instead of array data
- Introduce "composer" based library for phpmailer
This commit is contained in:
nupplaPhil 2020-01-29 20:20:39 +01:00
parent 30eb87e939
commit 0fb7e2c647
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
76 changed files with 1906 additions and 640 deletions

22
phpmailer/composer.json Normal file
View file

@ -0,0 +1,22 @@
{
"name": "friendica-addons/phpmailer",
"description": "Replaces the default `mail()` function by the `PHPMailer` library",
"type": "friendica-addon",
"authors": [
{
"name": "Marcus Mueller",
"role": "Developer"
}
],
"require": {
"php": ">=7.0",
"phpmailer/phpmailer": "^6.1"
},
"license": "3-clause BSD license",
"minimum-stability": "stable",
"config": {
"optimize-autoloader": true,
"autoloader-suffix": "PhpMailerAddon",
"preferred-install": "dist"
}
}