# MXRoute Mail Provider
This is a drop-in provider for ApisCP (opens new window) to enable mail support for accounts that use MXRoute. This provider is built into apnscp.
# Configuring
A server name is required to configure MXRoute. Servers are assigned to each account and provided at sign-up (opens new window) with MXRoute. For example, "ghost" and "arrow" are two known MXRoute servers. Yours may be different. Substitute SERVER with your server name.
EditDomain -c mail,provider=mxroute -c mail,key=SERVER domain.com
# Components
- Module- overrides Email_Module (opens new window) behavior
- Validator- optional service validator, checks input with AddDomain/EditDomain helpers
# Minimal module methods
All module methods can be overwritten. The following are the bare minimum that are overwritten for this Mail provider to work:
get_records
- returns a list of DNS records to provision for the domain
# Contributing
Submit a PR and have fun!