{"id":19662106,"url":"https://github.com/halojoy/php-smtp-mailer","last_synced_at":"2025-04-28T21:31:52.529Z","repository":{"id":45669386,"uuid":"129111509","full_name":"halojoy/PHP-SMTP-Mailer","owner":"halojoy","description":"This is a simple SMTP PHPMailer. The PHP Class supports TLS, SSL and File Attachments in mail.","archived":false,"fork":false,"pushed_at":"2022-11-05T15:39:19.000Z","size":94,"stargazers_count":45,"open_issues_count":9,"forks_count":31,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T11:11:12.173Z","etag":null,"topics":["attachments","class","debug","html","login","mail","php","smtp","ssl","tls"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halojoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-11T15:02:26.000Z","updated_at":"2024-11-06T09:34:49.000Z","dependencies_parsed_at":"2022-07-19T04:47:39.578Z","dependency_job_id":null,"html_url":"https://github.com/halojoy/PHP-SMTP-Mailer","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/halojoy%2FPHP-SMTP-Mailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halojoy%2FPHP-SMTP-Mailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halojoy%2FPHP-SMTP-Mailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halojoy%2FPHP-SMTP-Mailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halojoy","download_url":"https://codeload.github.com/halojoy/PHP-SMTP-Mailer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251391240,"owners_count":21582132,"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":["attachments","class","debug","html","login","mail","php","smtp","ssl","tls"],"created_at":"2024-11-11T16:09:35.084Z","updated_at":"2025-04-28T21:31:52.214Z","avatar_url":"https://github.com/halojoy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### PHP-SMTP-Mailer\nThis is a lightweight SMTP PHPMailer.\u003cbr\u003e\nThe PHP Class supports TLS, SSL and File Attachments in mail.\u003cbr\u003e\nSimple, powerful and easy to use.\n\n##### Features:\n* Sends mail using one SMTP Server like 'smtp.gmail.com'.\n* Auth login with username and password.\n* Uses security protocols TLS and SSL.\n* Supports 'text/html' or 'text/plain' messages.\n* Supports any number of file attachments.\n* Default Charset is 'UTF-8' but can be changed.\n* 8bit, 7bit, Binary or Quoted-Printable transfer encoding.\n* Logging of the transaction for debug.\n\n##### Email Headers:\n* From     - one email\n* Reply-To - multiple possible\n* To  - multiple possible\n* Cc  - multiple possible\n* Bcc - multiple possible\n\n### Usage\n1. Begin with running **setup_config.php**\u003cbr\u003e\nThis will store your server connection settings.\n\n2. After this you can try **example_minimal.php**\u003cbr\u003e\nIt is a basic example like this:\n```php\n\u003c?php\n\nrequire 'class/SMTPMailer.php';\n$mail = new SMTPMailer();\n\n$mail-\u003eaddTo('someaccount@hotmail.com');\n\n$mail-\u003eSubject('Mail message for you');\n$mail-\u003eBody(\n    '\u003ch3\u003eMail message\u003c/h3\u003e\n    This is a \u003cb\u003ehtml\u003c/b\u003e message.\u003cbr\u003e\n    Greetings!'\n);\n\nif ($mail-\u003eSend()) echo 'Mail sent successfully';\nelse               echo 'Mail failure';\n\n?\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalojoy%2Fphp-smtp-mailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalojoy%2Fphp-smtp-mailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalojoy%2Fphp-smtp-mailer/lists"}