cash / elgg-phpmailer
Use PHPMailer for sending email.
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 1
Forks: 5
Open Issues: 2
Type:elgg-plugin
Requires
- composer/installers: ^1.0.8
- phpmailer/phpmailer: ^5.2
This package is not auto-updated.
Last update: 2020-08-15 17:38:10 UTC
README
- To use the plugin with composer, you only need install the plugin with composer:
composer require cash/elgg-phpmailer
The composer/installer package install the plugin in the elgg mod folder.
- Enable in the admin panel. It will override the default email notification handler. There are smtp settings and an end of line marker override in the admin plugin settings.
SETINGS
This plugin provides a complete set of parameters including:
- Should this plugin override the default Elgg mail handler
- Should this plugin use smtp to send mail rather than php's mail function
- Should this plugin use authetication for smtp (username and password)
- Should this plugin use a SSL connection for smtp
- Is your Mail Transfer Agent non-standard in its line endings
TROUBLESHOOTING
If there are errors, they should be written to your server error log.
HOW TO CONFIRM THE PLUGIN IS WORKING
Check the header of an email that was sent after the plugin was enabled. You should see the sender as PHPMailer.
HOW TO USE THIS FROM ANOTHER PLUGIN
See the function phpmailer_send() in start.php.
PHPMailer can be found at https://github.com/PHPMailer/PHPMailer