Lines Matching refs:provider
15 BString provider = ExtractProvider(email); in GetInfoFromMailAddress() local
18 if (LoadProviderInfo(provider, info) == B_OK) in GetInfoFromMailAddress()
22 if (GetMXRecord(provider.String(), info) == B_OK) in GetInfoFromMailAddress()
26 GuessServerName(provider.String(), info); in GetInfoFromMailAddress()
32 AutoConfig::GetMXRecord(const char* provider, provider_info *info) in GetMXRecord() argument
36 if (dnsQuery.GetMXRecords(provider, &mxList) != B_OK) in GetMXRecord()
56 AutoConfig::GuessServerName(const char* provider, provider_info* info) in GuessServerName() argument
59 info->imap_server += provider; in GuessServerName()
61 info->pop_server += provider; in GuessServerName()
63 info->smtp_server += provider; in GuessServerName()
75 printf("Provider: %s:\n", pInfo->provider.String()); in PrintProviderInfo()
91 BString provider; in ExtractProvider() local
93 emailS.CopyInto(provider, at + 1, emailS.Length() - at); in ExtractProvider()
94 return provider; in ExtractProvider()
100 AutoConfig::LoadProviderInfo(const BString &provider, provider_info* info) in LoadProviderInfo() argument
109 BFile infoFile(&infoDir, provider.String(), B_READ_ONLY); in LoadProviderInfo()
113 info->provider = provider; in LoadProviderInfo()