Test a domain: Launch a request to validate your DNS domain settings

Get /settings/domains/{sending}/test

URL parameters:

Name Description Type Mandatory
sending Domain name with extension String Yes


Name Description Type
sending Sending domain String
tracking Sub domain using for tracking String
verifiedDkim If DKIM record is validated Boolean
verifiedSpf If SPF record is validated Boolean
verifiedTracking If CNAME record is validated Boolean
verifiedMx If MX record is validated Boolean
verifiedA If A record is validated Boolean
verifiedDomain If the domain is verified with email confirmation Boolean
Programming language:

Response exemple:

								"sending": "example.com",
								"tracking": "send",
								"verifiedDkim": true,
								"verifiedSpf": true,
								"verifiedTracking": true,
								"verifiedMx": true,
								"verifiedA": true,
								"verifiedDomain": true

Code example:

								curl -X GET -H "Content-Type: application/json" -H "X-Tipimail-ApiUser:YOUR_SMTP_USERNAME" -H "X-Tipimail-ApiKey:YOUR_SMTP_KEY" https://api.tipimail.com/v1/settings/domains/example.com/test
require 'vendor/autoload.php';

$tipimail = new Tipimail\Tipimail('YOUR_SMTP_USERNAME', 'YOUR_API_KEY');

try {
	$result = $tipimail->getSettingsService()->getDomainsService()->test('example.com');
catch(Tipimail\Exceptions\TipimailException $e) {
	echo 'Exception received :', $e->getMessage(), "\n";