mirror of
https://github.com/retailcrm/transparent-email.git
synced 2024-11-22 05:16:05 +03:00
Support for googlemail.com
This commit is contained in:
parent
a6f47f903b
commit
c37541a790
@ -16,6 +16,6 @@ class GmailCom implements ServiceInterface
|
||||
|
||||
public function isDomainSupported(string $domain) : bool
|
||||
{
|
||||
return strtolower($domain) === 'gmail.com';
|
||||
return in_array(strtolower($domain), ['gmail.com', 'googlemail.com']);
|
||||
}
|
||||
}
|
@ -24,6 +24,7 @@ class GmailComTest extends \PHPUnit_Framework_TestCase
|
||||
['Foo.Bar@GMAIL.COM', 'foobar@gmail.com'],
|
||||
['foobar+alias@gmail.com', 'foobar@gmail.com'],
|
||||
['fo.ob.ar+alias@gmail.com', 'foobar@gmail.com'],
|
||||
['JaneDoe@googlemail.com', 'janedoe@googlemail.com'],
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user