Advanced

Reply-To Address

Configure reply-to email addresses for form notifications

The reply-to address determines which email address is used when you click "Reply" on a notification email. By default, Static Forms uses the email address from the form's email field. You can customize this behavior using the replyTo field.

Automatic Reply-To

By default, if your form includes an email field, Static Forms automatically uses that email address as the reply-to address:

HTML

Default Behavior

When you receive a notification email and click "Reply", it will automatically reply to the email address from the form's email field. No additional configuration needed.

Custom Reply-To Address

To set a custom reply-to address, add a hidden replyTo field to your form:

HTML

Using Form Field Value

You can set the reply-to address dynamically using JavaScript to use a form field value:

HTML

Reply-To Priority

Static Forms uses the following priority order to determine the reply-to address:

1

Explicit replyTo Field

If a replyTo field is present, its value is used as the reply-to address.

2

Email Field Value

If no replyTo field exists, the value from the email field is used.

3

No Reply-To

If neither exists, the notification email has no reply-to address (replies go to the sender).

Use Cases

Custom reply-to addresses are useful in various scenarios:

Direct Response to Submitter

Use the form's email field value (default behavior) to reply directly to the person who submitted the form.

HTML

Centralized Support Email

Route all replies to a central support email address for team management.

HTML

Department-Specific Routing

Route replies to different departments based on form type or inquiry category.

JavaScript

Best Practices

Use Email Field for Direct Replies

For most contact forms, using the email field value (default behavior) allows you to reply directly to the submitter without additional configuration.

Validate Email Addresses

Ensure the reply-to address is a valid email format. Invalid addresses may cause delivery issues.

Consider Team Workflows

For team environments, consider using a shared email address or ticketing system email as the reply-to address.

Troubleshooting

Reply-To Not Working

  • Verify the field is named exactly replyTo (case-sensitive)
  • Check that the email address is valid
  • Ensure the field is included in the form submission
  • Check your email client's reply behavior (some clients may use "From" instead)

Email Field Not Used as Reply-To

  • Check if a replyTo field exists (it takes priority)
  • Verify the email field is named exactly email
  • Ensure the email field contains a valid email address

Email Client Behavior

Most email clients respect the reply-to address, but some may use the "From" address instead. The reply-to header is set correctly in the email, but client behavior may vary.