MCOMailProvidersManager Class Reference
Inherits from | NSObject |
Declared in | MCOMailProvidersManager.h MCOMailProvidersManager.mm |
Overview
This class is used to detect an email provider and it’s associated metadata either by MX record or by the email addresss.
An app might want to use this during setup to limit the number of settings a user has to input.
Instance Methods
providerForEmail:
Given an email address will try to determine the provider
- (MCOMailProvider *)providerForEmail:(NSString *)email
Return Value
The email provider info or nil if it can’t be determined.
Declared In
MCOMailProvidersManager.h
providerForIdentifier:
Will return information about a provider. Useful if you already know the provider (like if it has been determined previously)
- (MCOMailProvider *)providerForIdentifier:(NSString *)identifier
Return Value
The email provider info or nil if none matches
Declared In
MCOMailProvidersManager.h