{"id":20103181,"url":"https://github.com/dotkernel/plugin-mail-transporter","last_synced_at":"2026-05-15T07:04:06.476Z","repository":{"id":35196460,"uuid":"39454842","full_name":"dotkernel/plugin-mail-transporter","owner":"dotkernel","description":"Plugin for dotkernel mail Transporter","archived":false,"fork":false,"pushed_at":"2015-11-23T17:09:49.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-24T15:03:08.319Z","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/dotkernel.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":"2015-07-21T15:49:11.000Z","updated_at":"2023-04-01T08:34:45.000Z","dependencies_parsed_at":"2022-09-15T11:40:29.251Z","dependency_job_id":null,"html_url":"https://github.com/dotkernel/plugin-mail-transporter","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/dotkernel%2Fplugin-mail-transporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotkernel%2Fplugin-mail-transporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotkernel%2Fplugin-mail-transporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotkernel%2Fplugin-mail-transporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotkernel","download_url":"https://codeload.github.com/dotkernel/plugin-mail-transporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241542660,"owners_count":19979367,"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-13T17:34:38.614Z","updated_at":"2026-05-15T07:04:06.342Z","avatar_url":"https://github.com/dotkernel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plugin-mail-transporter\nPlugin for dotkernel mail Transporter (v1.0.1)\n\nInstallation steps:\n\n1. Add the Mail Transporter settings from this configs/plugins.ini to your configs/plugins.ini\n\n2. Create or copy the configuration files for this plugin. By default the files are: \n```\nconfigs/plugin/DotKernel/MailTransporter/config.xml\nconfigs/plugin/DotKernel/MailTransporter/transporters.xml\n```\n\nThese files are also present in this repository  \n\n \n3. Merge the library/Plugin folder with yours. If you have a pre 1.8.0 version of DotKernel you can simply copy the folder, but we recommend updating your DotKernel to the latest version\n\n4. Make sure the following lines are uncommented in your Dot_Email class (/library/Dot/Email.php)\n```php\n\t\t// Plugin Call for DotKernel MailTransporter\n\t\t$pluginLoader = Plugin_Loader::getInstance();\n\t\t$plugin = $pluginLoader-\u003eloadPlugin('DotKernel', 'MailTransporter');\n\t\t// if no enabled plugin was found go ahead without it\n\t\tif($plugin instanceof Plugin_Interface)\n\t\t{\n\t\t\t$this-\u003e_transport = $this-\u003e_getTransportFromPlugin($plugin);\n\t\t}\n```\nIn case you are not sure we have added that file in this repository so you can simply copy it form here. \n\n\nSecurity notice:\n-------\n - In order to protect your SMTP transporters, or any sensible plugin data make sure a .htaccess file exists at least in the \u003ccode\u003e/configs\u003c/code\u003e directory\n  The .htaccess file must contain these two lines:\n```\n   Order Deny,Allow\n   Deny from all\n```\n DotKernel comes with this file within the /configs/ directory, but if you don't have it, it must be created.\n \n\n* Make sure plugin.ini settings are valid:\n```\n plugin.DotKernel.MailTransporter.enable = true\n plugin.DotKernel.MailTransporter.config_file[config] = /path/to/config.xml\n plugin.DotKernel.MailTransporter.config_file[transporter_list] = /path/to/transporter.xml\n```\n And the files given are existing. You can use \u003ccode\u003eAPPLICATION_PATH\u003c/code\u003e as a reference to the root DotKernel project folder\n \n\nAnd if you want to use smtp mail make sure:\n \n - Your plugin's config.xml contains smtpActive is set to \u003ccode\u003etrue\u003c/code\u003e at least within the production tag\n - The mail server accepts connections with the provided configuration \n - You are able to send mail from that server\n\n\nE-mail now works as a plugin, but the limit cannot be set \n\nYou can set more transporters and disable the ones you don't want to use\n\nUsage\n-------\n\nAdd your transporters in the /configs/plugin/DotKernel/MailTransporter/transporters.xml\nYou can use the plugin with the Dot_Email class.\nIf you wish to use the plugin separately just add these lines where needed:\n```php\n    $skip = 0;\n    $pluginLoader = Plugin_Loader::getInstance();\n    $plugin = $pluginLoader-\u003eloadPlugin('DotKernel', 'MailTransporter');\n    $transporter = $plugin-\u003egetTransporter($skip);\n```\n\nWe have added the skip feature in case a transporter fails in sending emails . The $skip argument is optional\nThe plugin will return false if no other transporters are available\n\n\n\nSupport\n-------\n\nIf no available SMTP Transport was found, the plugin will create a Send_Mail Transporter (see Zend_Mail_Transport)\n\nDetails about Zend SendMail Transport : http://framework.zend.com/manual/1.12/en/zend.mail.introduction.html\nDetails about Zend SMTP Transport: \n * http://framework.zend.com/manual/1.12/en/zend.mail.sending.html\n * http://framework.zend.com/manual/1.12/en/zend.mail.smtp-authentication.html\n * http://framework.zend.com/manual/1.12/en/zend.mail.smtp-secure.html\n\n For more support or suggestions visit: www.dotkernel.com \n  or contact us here: http://www.dotkernel.com/contact/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotkernel%2Fplugin-mail-transporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotkernel%2Fplugin-mail-transporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotkernel%2Fplugin-mail-transporter/lists"}