We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a621a4 commit 31e9883Copy full SHA for 31e9883
src/ValidateEmail.php
@@ -9,9 +9,10 @@ function GetValidateDisposable($email,$api_key) {
9
if ($api_key == '') {
10
$api_key = env('MBV_API_KEY');
11
}
12
+ $source = 'laravel';
13
try {
14
// Now we need to send the data to MBV API Key and return back the result.
- $results = file_get_contents('https://api.mailboxvalidator.com/v1/email/disposable?key=' . $api_key . '&email=' .$email);
15
+ $results = file_get_contents('https://api.mailboxvalidator.com/v1/email/disposable?key=' . $api_key . '&email=' .$email. '&source=' .$source );
16
17
if ($results == false) {
18
return 'Unknown error encounter. Please try again later.';
0 commit comments