Download the PHP package hypejunction/notifications_html_handler without Composer
On this page you can find all versions of the php package hypejunction/notifications_html_handler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hypejunction/notifications_html_handler
More information about hypejunction/notifications_html_handler
Files in hypejunction/notifications_html_handler
Package notifications_html_handler
Short Description Notification Editor for Elgg
License GPL-2.0
Homepage http://hypejunction.com
Informations about the package notifications_html_handler
Notification HTML Handler for Elgg
Features
- Leverages
Zend_Mail
(email library used in core) to send out HTML emails - Allows filtering/formatting instant notifications
- Allows to configure email transports (Sendmail, SMTP, File Transport)
- Allows to send file attachments
- Inlines CSS styles for improved email client experience
- Microdata support
Notes
-
You can disable outgoing email by switching to File Transport in plugin settings, this will instead write email as txt files to the filestore under
/notifications_log/zend/
-
Sample SMTP config for GMail To use GMail as your SMTP relay, you will likely need to Allow less secure apps: https://support.google.com/accounts/answer/6010255?hl=en
Host: smtp.gmail.com Port: 587 Secure Connection: TLS Auth: SMTP with AUTH LOGIN Username: [email protected] Password: xxxx
Conflicts
This plugin will conflict with any other plugin that subscribes to "send","notification:email"
hook
Developer Notes
-
'format','notification'
hook can be used to format an instance of \Elgg\Notifications\Notification before it is passed on to the email transport. That also allows wrapping the message into an HTML shell. - To add attachments to your email, add an array of
ElggFile
objects to notification parameters:
All versions of notifications_html_handler with dependencies
composer/installers Version ~1.0
hypejunction/forms_api Version ~1.0
zendframework/zend-mail Version ~2.4
zendframework/zend-servicemanager Version ~2.4
pelago/emogrifier Version ~1.0