{"id":19443159,"url":"https://github.com/lbgm/mail-with-php","last_synced_at":"2026-05-06T06:40:56.764Z","repository":{"id":139808187,"uuid":"544820886","full_name":"lbgm/mail-with-php","owner":"lbgm","description":"PHP simple dockerized app to send mail. You can use it as docker-compose service","archived":false,"fork":false,"pushed_at":"2022-10-03T13:33:46.000Z","size":118,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T22:13:41.681Z","etag":null,"topics":["docker","docker-compose","docker-image","mailer","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lbgm.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":"2022-10-03T09:34:34.000Z","updated_at":"2023-09-06T10:52:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"906fa837-9d09-4728-8fd1-d31630d463e1","html_url":"https://github.com/lbgm/mail-with-php","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/lbgm%2Fmail-with-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbgm%2Fmail-with-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbgm%2Fmail-with-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbgm%2Fmail-with-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lbgm","download_url":"https://codeload.github.com/lbgm/mail-with-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240627961,"owners_count":19831600,"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":["docker","docker-compose","docker-image","mailer","php"],"created_at":"2024-11-10T15:42:19.549Z","updated_at":"2026-05-06T06:40:56.757Z","avatar_url":"https://github.com/lbgm.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mail-with-php\nPhp simple dockerized app to send mail. You can use it as docker-compose service with Node JS project and more.\nIt uses PHPMailer (https://github.com/PHPMailer/PHPMailer)\n\n## build example\n```sh\ndocker build -t lbgm/mailer  -f Dockerfile ./ --build-arg MAIL_SERVER=mail.example.com --build-arg MAIL_PORT=465 --build-arg MAIL_SECURE=ssl --build-arg MAIL_ACCOUNT=noreply@example.com --build-arg MAIL_ACCOUNT_PASSWORD=password --build-arg FROM_MAIL=noreply@example.com --build-arg SMTP_DEBUG=4\n```\n\n## Request payload\nmake http post request on `http://\u003cmail-with-php-host\u003e:port/send-mail/`;\n\nresponse codes: `200/201` on **success** end `403` when **failed**\n\n```json\n{\n  \"title\": \"it work lbgm !\",\n  \"to_mail\": \"hi.balthazar@icloud.com\",\n  \"to_name\": \"Balthazar DOSSOU\",\n  \"message\": \"Hi Balthazar, your mail-with-php docker app work well !\",\n  \"from_name\": \"Mail With PHP\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbgm%2Fmail-with-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flbgm%2Fmail-with-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbgm%2Fmail-with-php/lists"}