{"id":20443200,"url":"https://github.com/znframework/package-email","last_synced_at":"2026-02-16T02:31:33.882Z","repository":{"id":57091664,"uuid":"118120338","full_name":"znframework/package-email","owner":"znframework","description":"ZN Framework Email Package","archived":false,"fork":false,"pushed_at":"2025-01-05T14:12:01.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-01-05T14:38:27.411Z","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/znframework.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-19T12:02:34.000Z","updated_at":"2025-01-05T14:02:14.000Z","dependencies_parsed_at":"2025-01-05T14:33:01.727Z","dependency_job_id":"18df47da-f3b9-47f7-86d6-5d3884de4202","html_url":"https://github.com/znframework/package-email","commit_stats":{"total_commits":39,"total_committers":4,"mean_commits":9.75,"dds":"0.46153846153846156","last_synced_commit":"00fdc94d7894a2d81c4f2b33a4077aac982a2191"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znframework%2Fpackage-email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znframework%2Fpackage-email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znframework%2Fpackage-email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znframework%2Fpackage-email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/znframework","download_url":"https://codeload.github.com/znframework/package-email/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234093178,"owners_count":18778769,"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-15T09:46:27.077Z","updated_at":"2025-09-24T15:30:57.505Z","avatar_url":"https://github.com/znframework.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003ca href=\"https://packagist.org/packages/znframework/package-email\" rel=\"nofollow\"\u003e\n\t\u003cimg src=\"https://img.shields.io/packagist/dt/znframework/package-email?style=flat-square\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"//packagist.org/packages/znframework/package-email\" rel=\"nofollow\"\u003e\n\t\u003cimg src=\"https://img.shields.io/github/v/release/znframework/package-email?style=flat-square\u0026color=00BFFF\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"//packagist.org/packages/znframework/package-email\" rel=\"nofollow\"\u003e\n\t\u003cimg src=\"https://img.shields.io/github/release-date/znframework/package-email?style=flat-square\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"//packagist.org/packages/znframework/package-email\" rel=\"nofollow\"\u003e\n\t\u003cimg src=\"https://img.shields.io/github/license/znframework/package-email?style=flat-square\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch2\u003eZN Framework Email Package\u003c/h2\u003e\n\u003cp\u003e\nFollow the steps below for installation and use.\n\u003c/p\u003e\n\n\u003ch3\u003eInstallation\u003c/h3\u003e\n\u003cp\u003e\nYou only need to run the following code for the installation.\n\u003c/p\u003e\n\n```\ncomposer require znframework/package-email\n```\n\n\u003ch3\u003eDocumentation\u003c/h3\u003e\n\u003cp\u003e\nClick for \u003ca href=\"https://docs.znframework.com/uzak-servisler/mail-kutuphanesi\"\u003edocumentation\u003c/a\u003e of your library.\n\u003c/p\u003e\n\n\u003ch3\u003eExample Usage\u003c/h3\u003e\n\u003cp\u003e\nBasic level usage is shown below.\n\u003c/p\u003e\n\n```php\n\u003c?php require 'vendor/autoload.php';\n\nZN\\ZN::run();\n\n# The default settings are in the ZN\\Email\\EmailDefaultConfiguration file. \n# You can make your settings in this file.\n# The Config::set() method should be used if you need to configure settings externally.\nConfig::services('email', \n[\n    'driver' =\u003e 'smtp',\n    'smtp'   =\u003e\n    [\n        'host'      =\u003e '',\n        'user'      =\u003e '',\n        'password'  =\u003e '',\n        'port'      =\u003e 587,\n        'keepAlive' =\u003e false,\n        'timeout'   =\u003e 10,\n        'encode'    =\u003e '',  # empty, tls, ssl\n        'dsn'       =\u003e false,\n        'auth'      =\u003e true\n    ],\n    'general' =\u003e\n    [\n        'senderMail'    =\u003e '',                  # Default Sender E-mail Address.\n        'senderName'    =\u003e '',                  # Default Sender Name.\n        'priority'      =\u003e 3,                   # 1, 2, 3, 4, 5\n        'charset'       =\u003e 'UTF-8',             # Charset Type\n        'contentType'   =\u003e 'html',              # plain, html\n        'multiPart'     =\u003e 'mixed',             # mixed, related, alternative\n        'xMailer'       =\u003e 'ZN',\n        'encoding'      =\u003e '8bit',              # 8bit, 7bit\n        'mimeVersion'   =\u003e '1.0',               # MIME Version\n        'mailPath'      =\u003e '/usr/sbin/sendmail' # Default Mail Path\n    ]\n]);\n\nEmail::from('from@example.com')\n     -\u003eto('to@example.com')\n     -\u003esend('This is Subject', 'This is message.');\n\nOutput::display(Email::error());\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznframework%2Fpackage-email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fznframework%2Fpackage-email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznframework%2Fpackage-email/lists"}