-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,11 @@ $client = new QuickEmailVerification\Client('Your_API_Key_Here'); | |
$quickemailverification = $client->quickemailverification(); | ||
|
||
try { | ||
// PRODUCTION MODE | ||
$response = $quickemailverification->verify("[email protected]"); | ||
|
||
// SANDBOX MODE | ||
// $response = $quickemailverification->sandbox("[email protected]"); | ||
} | ||
catch (Exception $e) { | ||
echo "Code: " . $e->getCode() . " Message: " . $e->getMessage(); | ||
|
@@ -85,9 +89,8 @@ A successful API call responds with the following values: | |
- `exceeded_storage` - SMTP server rejected email. Exceeded storage allocation | ||
|
||
- **disposable** `true | false` - *true* if the email address uses a *disposable* domain | ||
- **accept_all** `true | false` - *true* if the domain appears to *accept all* emails delivered to that domain | ||
- **accept_all** `true | false` - *true* if the domain appears to accept all emails delivered to that domain | ||
- **role** `true | false` - *true* if the email address is a *role* address (`[email protected]`, `[email protected]`, etc) | ||
- **free** `true | false` - *true* if the email address is from free email provider like Gmail, Yahoo!, Hotmail etc. | ||
- **email** `string` - Returns a normalized version. (`[email protected]` -> `[email protected]` | ||
- **user** `string` - The local part of an email address. (`[email protected]` -> `niki`) | ||
- **domain** `string` - The domain of the provided email address. (`[email protected]` -> `example.com`) | ||
|
@@ -113,6 +116,11 @@ QuickEmailVerification API also returns following HTTP status codes to indicate | |
- `404` - Requested API can not be found on server. | ||
- `429` - Too many requests. Rate limit exceeded. | ||
|
||
## Sandbox Mode | ||
QuickEmailVerification single email verification API sandbox mode helps developers to test their integration against simulated results. Requesting against sandbox endpoint is totally free and no credits will be deducted from actual credit quota. | ||
|
||
Please refer our [knowledge base](http://docs.quickemailverification.com/email-verification-api/sandbox-mode) to learn more about sandbox mode. | ||
|
||
## License | ||
MIT | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters