Skip to main content
By default, Resend uses the send subdomain for the Return-Path address. You can provide a custom Return-Path address when you add a new domain in the Dashboard under Advanced options, or by setting the optional custom_return_path parameter when creating or updating a domain via the API or with a domains CLI command. Custom Return Path For the API, optionally pass the custom return path parameter.
Custom return paths must adhere to the following rules:
  • Must be 63 characters or less.
  • Must start with a letter, and end with a letter or number.
  • Must contain only letters, numbers, and hyphens.
Avoid setting values that could undermine credibility (e.g. testing), as they may be exposed to recipients in some email clients.