Perform an email filtering test.

Perform an email filtering test.


Function

  • testFiltering()

Parameters

  • username: String
    • Account login name.
  • password: String
    • Account password.
  • jobId: int
    • Job ID.

Return

  • String:
    • Filtering test result in XML format

Exception

  • Exception

Documentation

  • Perform an email filtering test.

Examples

public void testFilteringSample() {
        String username = "XXX";
        String password = "XXX";

        int jobId = 1234;

        String result = port.testFiltering(username, password, jobId);
}   

<?php

include 'puresend.php';

$p = new Puresend();

$testFilteringData = new testFiltering();
$testFilteringData->username = 'XXX';
$testFilteringData->password = 'XXX';
$testFilteringData->jobId = 1234;

$response = $p->testFiltering($testFilteringData);
var_dump($response);

?>