{"id":18737901,"url":"https://github.com/technodelight/zenc-email-logger","last_synced_at":"2025-04-12T19:32:31.788Z","repository":{"id":11954560,"uuid":"14525583","full_name":"technodelight/zenc-email-logger","owner":"technodelight","description":"Email logging functionality for Magento","archived":false,"fork":false,"pushed_at":"2021-04-26T07:46:33.000Z","size":90,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T14:06:00.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technodelight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-19T13:40:35.000Z","updated_at":"2017-03-27T09:54:42.000Z","dependencies_parsed_at":"2022-09-01T13:52:16.284Z","dependency_job_id":null,"html_url":"https://github.com/technodelight/zenc-email-logger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fzenc-email-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fzenc-email-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fzenc-email-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fzenc-email-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technodelight","download_url":"https://codeload.github.com/technodelight/zenc-email-logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248621326,"owners_count":21134810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T15:27:22.695Z","updated_at":"2025-04-12T19:32:31.508Z","avatar_url":"https://github.com/technodelight.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"zenc-email-logger\n=================\n\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/technodelight/zenc-email-logger/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/technodelight/zenc-email-logger/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/technodelight/zenc-email-logger/badges/build.png?b=master)](https://scrutinizer-ci.com/g/technodelight/zenc-email-logger/build-status/master)\n\nEmail logging functionality for Magento. Useful if you don't want to deal with sendmail/postfix/whatever setups and you want to debug/style email contents on your local environment.\nThe logger has the following advantages over other tools:\n\n - Could be added easily to existing projects without requiring any special 3rd party tool\n - Logs emails with detailed (extendable) informations to database, including headers and raw email output\n - Logging through re-usable elements (A compatible `Zend_Mail` override and a custom zend mail transport for logging)\n - allow adding extra informations before saving to log instance by subscribing to the custom event `zenc_emaillogger_send_mail`\n - restful API to retrieve email details, with formatting capabilities (dump, html, json formats supported), allows retrieving last sent email\n\n#### How to use\n The content's captured by the logger is now only visible via the rest controller. There's a plan to add an admin panel for this in the future.\n To retrieve the list of sent mails, visit your browser with this URL:\n```\n\u003cyour host\u003e/emails/rest/list\n```\n To retrieve the last email which have been sent, just go here:\n```\n\u003cyour host\u003e/emails/rest/read/id/last\n```\n To retrieve the contents of a specific email you can use the ID of the log record instead of `last`, like `/emails/rest/read/id/1` .\n\n The REST controller has the ability to change the format of rendering. Just append `?format=\u003cformat\u003e` to the end of the URL. Currently available renderers:\n - dump (which does a `var_dump()` on the log item's data)\n - html (renders the email's HTML content if present)\n - json (dumps every data in a friendly format, so you could use this module in your CI)\n\n##### Configuration options\n\nThere are two options you can set under **System -\u003e Configuration -\u003e Developer -\u003e Email Logger**:\n\n- Enabled - enables/disables the functionality\n- Enable Passthrough - enables/disables passthrough (when enabled emails are both logged AND sent out)\n\n## INSTALLATION Via Modman - Recommended (https://github.com/colinmollenhour/modman)\n\n#### 1) Install Modman:\n\n```\nbash \u003c \u003c(wget -O - https://raw.github.com/colinmollenhour/modman/master/modman-installer)\n```\n\nor\n\n```\nbash \u003c \u003c(curl -s https://raw.github.com/colinmollenhour/modman/master/modman-installer)\nsource ~/.profile\n```\n\n#### 2) Install Zenc EmailLogger\n\n\u003cpre\u003e\ncd [magento root folder]\nmodman init\nmodman clone https://github.com/technodelight/zenc-email-logger.git\n\u003c/pre\u003e\n\n - Make sure you've cleaned Magento's cache to enable the new module; hit refresh\n\n#### How to update\n\u003cpre\u003e\nmodman update zenc-email-logger\n\u003c/pre\u003e\n\n - Clean Magento's cache to make sure new changes will be enabled.\n - Run setup scripts with n98-magerun\n\n#### Notes\n This readme is also available as a github page: http://technodelight.github.io/zenc-email-logger/\n\n#### License\n [OSL v3](http://opensource.org/licenses/OSL-3.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnodelight%2Fzenc-email-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnodelight%2Fzenc-email-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnodelight%2Fzenc-email-logger/lists"}