• Resolved joekissell

    (@joekissell)


    It appears this plugin works only with the default IP pool. Is there any way to select a different IP pool when sending via this plugin? If not, could such a feature be added in the future?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author SparkPost

    (@sparkpost)

    Hi @joekissell,

    If you use the HTTP API option, you can use the “wpsp_request_body” hook. Insert the following snippet in your WordPress theme (i.e. wp-config.php) and replace ‘my-pool-id’ with your IP pool id.

    
    function set_ip_pool($body) {
      $body['options']['ip_pool'] = 'my-pool-id';
      return $body;
    }
    
    add_filter('wpsp_request_body', 'set_ip_pool');
    
    Thread Starter joekissell

    (@joekissell)

    Ah, wonderful! That works splendidly. Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Selecting IP Pool’ is closed to new replies.