Skip to content

Commit 31e9883

Browse files
Update ValidateEmail.php
1 parent 9a621a4 commit 31e9883

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ValidateEmail.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ function GetValidateDisposable($email,$api_key) {
99
if ($api_key == '') {
1010
$api_key = env('MBV_API_KEY');
1111
}
12+
$source = 'laravel';
1213
try {
1314
// Now we need to send the data to MBV API Key and return back the result.
14-
$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 );
1516

1617
if ($results == false) {
1718
return 'Unknown error encounter. Please try again later.';

0 commit comments

Comments
 (0)