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 2ba3b07 commit 6dc9dc5Copy full SHA for 6dc9dc5
src/ValidateEmail.php
@@ -32,9 +32,10 @@ function ValidateDisposable($email) {
32
if (!isset($api_key)) {
33
$api_key = env('MBV_API_KEY');
34
}
35
+ $source = 'laravel';
36
try {
37
// 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);
38
+ $results = file_get_contents('https://api.mailboxvalidator.com/v1/email/disposable?key=' . $api_key . '&email=' .$email. '&source=' .$source );
39
40
// Decode the return json results and return the data as an array.
41
$data = json_decode($results,true);
0 commit comments