File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
web/Modules/Email/App/Http/Livewire Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,19 +35,19 @@ public function verify()
35
35
$ checks = [];
36
36
$ checkOne = shell_exec ('dig @1.1.1.1 +short MX ' .$ getMainDomain );
37
37
$ checkOnePass = false ;
38
- if (str_contains ($ checkOne , '10 ' .$ this ->domain )) {
38
+ if (str_contains ($ checkOne , '10 mail. ' .$ this ->domain )) {
39
39
$ checkOnePass = true ;
40
40
}
41
41
$ checks [] = [
42
42
'check ' => 'MX ' ,
43
43
'pass ' => $ checkOnePass ,
44
44
'result ' =>$ checkOne ,
45
- 'must ' =>'10 ' .$ this ->domain
45
+ 'must ' =>'10 mail ' .$ this ->domain
46
46
];
47
47
48
- $ checkTwo = shell_exec ('dig @1.1.1.1 +short A ' .$ this ->domain );
48
+ $ checkTwo = shell_exec ('dig @1.1.1.1 +short A mail. ' .$ this ->domain );
49
49
$ checkTwo = trim ($ checkTwo );
50
- $ getIpOfDomain = gethostbyname ($ this ->domain );
50
+ $ getIpOfDomain = gethostbyname (' mail. ' . $ this ->domain );
51
51
$ checkTwoPass = false ;
52
52
if ($ checkTwo == $ getIpOfDomain ) {
53
53
$ checkTwoPass = true ;
You can’t perform that action at this time.
0 commit comments