{"id":29150551,"url":"https://github.com/roborourke/sparkpost-wp-mail","last_synced_at":"2025-08-24T19:26:32.828Z","repository":{"id":62540031,"uuid":"53865363","full_name":"roborourke/sparkpost-wp-mail","owner":"roborourke","description":"Dropin wp_mail() replacement for WordPress that uses the SparkPost API","archived":false,"fork":false,"pushed_at":"2018-06-04T08:37:50.000Z","size":18,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-23T19:49:32.780Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roborourke.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":"2016-03-14T14:55:11.000Z","updated_at":"2024-08-28T17:52:05.000Z","dependencies_parsed_at":"2022-11-02T16:15:59.891Z","dependency_job_id":null,"html_url":"https://github.com/roborourke/sparkpost-wp-mail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roborourke/sparkpost-wp-mail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roborourke%2Fsparkpost-wp-mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roborourke%2Fsparkpost-wp-mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roborourke%2Fsparkpost-wp-mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roborourke%2Fsparkpost-wp-mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roborourke","download_url":"https://codeload.github.com/roborourke/sparkpost-wp-mail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roborourke%2Fsparkpost-wp-mail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271931226,"owners_count":24845584,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-06-30T23:10:51.774Z","updated_at":"2025-08-24T19:26:32.778Z","avatar_url":"https://github.com/roborourke.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SparkPost WP Mail Dropin\n\nDropin wp_mail() replacement for WordPress that uses the SparkPost.com \nAPI.\n\nHeavily based on prior art by \n[@danielbachhuber](https://github.com/danielbachhuber) for \n[Mandrill](https://github.com/danielbachhuber/mandrill-wp-mail)\n\n## How to Use\n\nTo implement this drop-in, add it to your `mu-plugins` directory. In \norder for it to work, you must define your Mandrill API key. The easiest \nway to do this is to add it to your `wp-config.php` file like so:\n\n`define( 'SPARKPOST_API_KEY', 'your-api-key' );`\n\nIf you've cloned this repo into your mu-plugins directory as the full \nfolder (e.g. `wp-content/mu-plugins/mandrill-wp-mail`, you'll need to \nmake sure you load the plugin files:\n\n```\n\u003c?php\n\nrequire_once dirname( __FILE__ ) . '/sparkpost-wp-mail/sparkpost-wp-mail.php';\n```\n\n## A Note About SparkPost\n \nSparkpost require sending domain verification via TXT records in your\nDNS or receiving an email at your domain.\n\nFor local development you can use their sandbox which allows up to 50 \nemails.\n\n```php\n\u003c?php\n\nadd_filter( 'wp_mail_from', function() {\n    return 'wordpress@sparkpostbox.com';\n} );\n```\n\n## A Note About Composer\n\nThis plugin can be installed and managed using Composer; however, \nbecause of the way Composer and mu-plugins work, you'll need a \n[bit of a workaround](https://gist.github.com/richardtape/05c70849e949a5017147) \nto make sure the plugin is loaded. For more information about how to use \nthis drop-in with Composer, read this \n[blog post](https://richardtape.com/2014/08/22/composer-and-wordpress-mu-plugins/) \nby [Richard Tape](https://github.com/richardtape).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froborourke%2Fsparkpost-wp-mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froborourke%2Fsparkpost-wp-mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froborourke%2Fsparkpost-wp-mail/lists"}