MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / matchMX

Method matchMX

src/core/provider/MCMailProvider.cpp:189–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189bool MailProvider::matchMX(String * hostname)
190{
191 bool result = false;
192 mc_foreacharray(String, match, mMxMatch) {
193 if (matchDomain(match, hostname)){
194 result = true;
195 break;
196 }
197 }
198
199 return result;
200}
201
202bool MailProvider::matchDomain(String * match, String * domain)
203{

Callers 1

mc_foreachhashmapValueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected