Get Mx Records
get_mx_recordsMail exchanger records for a domain.
Returns the MX hosts in priority order and whether any exist. A domain with no MX records cannot receive mail, so sending to it will bounce. Use when you only need deliverability and not spoofing posture; use check_email_domain for the full picture.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to check, e.g. "example.com". A full email address is accepted and the domain is taken from it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | No | Whether any MX record exists. | |
| hosts | No | MX hosts, lowest priority first. | |
| domain | Yes | ||
| can_receive_mail | No |