{"id":13516253,"url":"https://github.com/ashhitch/wp-graphql-send-mail","last_synced_at":"2026-05-12T22:02:52.832Z","repository":{"id":51260922,"uuid":"261263052","full_name":"ashhitch/wp-graphql-send-mail","owner":"ashhitch","description":"Send emails via mutation using WpGraphQl ","archived":false,"fork":false,"pushed_at":"2025-01-14T08:46:29.000Z","size":211,"stargazers_count":22,"open_issues_count":7,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T05:12:40.441Z","etag":null,"topics":["graphql","hacktoberfest","wordpress","wordpress-plugin","wpgraphql"],"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/ashhitch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-05-04T18:22:35.000Z","updated_at":"2025-03-27T17:31:02.000Z","dependencies_parsed_at":"2024-06-20T14:06:15.245Z","dependency_job_id":"40a40928-02ac-4b96-a698-786e3c27d2df","html_url":"https://github.com/ashhitch/wp-graphql-send-mail","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"8e52f176d0f117b44d84b8b3024836ed40cdabe7"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashhitch%2Fwp-graphql-send-mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashhitch%2Fwp-graphql-send-mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashhitch%2Fwp-graphql-send-mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashhitch%2Fwp-graphql-send-mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashhitch","download_url":"https://codeload.github.com/ashhitch/wp-graphql-send-mail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250340570,"owners_count":21414584,"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":["graphql","hacktoberfest","wordpress","wordpress-plugin","wpgraphql"],"created_at":"2024-08-01T05:01:20.730Z","updated_at":"2026-05-12T22:02:52.721Z","avatar_url":"https://github.com/ashhitch.png","language":"PHP","funding_links":["https://www.buymeacoffee.com/ashhitch"],"categories":["Plugins"],"sub_categories":["WordPress"],"readme":"# WPGraphQL Send Email Plugin\n\n![WPGraphQl Yoast SEO Plugin](./banner.png)\n\nOne of the simple things about a traditional WordPress sites is sending emails, this plugin makes it easy to do this via a simple mutation when you are using WPGraphQL.\n\n### Features\n\n- Set list of allowed origins in admin\n- Set CC address in admin\n- Set default From address in admin\n\n## Composer\n\n```\ncomposer require ashhitch/wp-graphql-send-mail\n```\n\n## Usage\n\n```\nmutation SEND_EMAIL {\n  sendEmail(\n    input: {\n      to: \"test@test.com\"\n      from: \"test@test.com\"\n      subject: \"test email\"\n      body: \"test email\"\n      clientMutationId: \"test\"\n    }\n  ) {\n    origin\n    sent\n    message\n  }\n}\n\n```\n\nTo try stop unauthorised emails you can set a list of domains that can send emails through the mutation.\n\nThese are set under `Settings \u003e WPGraphQL Mail` from your WordPress Admin\n\n## Support\n\n[Open an issue](https://github.com/ashhitch/wp-graphql-send-mail/issues)\n\n## Other WpGraphQl Plugins\n\nWant to get Yoast data via WPGraphQL? [Checkout my other plugin](https://github.com/ashhitch/wp-graphql-yoast-seo)\n\nMail Icon by [Good Ware](https://www.flaticon.com/authors/good-ware)\n\n## Find this useful?\n\n\u003ca href=\"https://www.buymeacoffee.com/ashhitch\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 40px !important;width: auto !important;\" \u003e\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashhitch%2Fwp-graphql-send-mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashhitch%2Fwp-graphql-send-mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashhitch%2Fwp-graphql-send-mail/lists"}