| 187 | } |
| 188 | |
| 189 | bool 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 | |
| 202 | bool MailProvider::matchDomain(String * match, String * domain) |
| 203 | { |
no outgoing calls
no test coverage detected