psy e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra | 6 years ago | |
---|---|---|
.. | ||
languages | 6 years ago | |
lib | 6 years ago | |
pages | 6 years ago | |
vendor | 6 years ago | |
views | 6 years ago | |
.travis.yml | 6 years ago | |
CHANGES.txt | 6 years ago | |
README.md | 6 years ago | |
composer.json | 6 years ago | |
composer.lock | 6 years ago | |
manifest.xml | 6 years ago | |
start.php | 6 years ago |
Send out full HTML mails to your users
If you have the developers plugin enabled you can easily design the layout of your HTML message, check the Theming sandbox.
Otherwise you can go to the test url to design the layout.
As this plugin offers some of the same functionality as other plugins their may be a conflict. Please check if you have one (or more) of the following
File attachments support :
If you wish to add file attachments to email notifications, you can use the notify_user function and pass it an "attachments" key, with $params['attachments']
:
$attachments[] = array(
'content' => $file_content, // File content
//'filepath' => $file_content, // Alternate file path for file content retrieval
'filename' => $file_content, // Attachment file name
'mimetype' => $file_content, // MIME type of attachment
);
Note that $attachments
is an array, so you can pass several files at once, each with a custom filename and MIME type.
Warning: don't use 'filepath' setting on a production site (not functional yet)