Skip to content

[Bug]: "Send Test" button shows no output if MAIL_REPLYTO_ADDR is not set #18869

Description

@uberbrady

Snipe-IT Version

v8.4.1 - build 22183-g5898205480

PHP Version

v8.2.29

Composer Version

2.9.5

MySQL/MariaDB version

MySQL 8.0.36

How did you install Snipe-IT?

Git install

Is this a fresh install or an upgrade?

Fresh install

What happened?

In the General Settings, in the Email section, there's the "Send Test" button. If you happen to not have MAIL_REPLYTO_ADDR set in your .env file, then pressing that button doesn't do anything, but doesn't show an error. The debug log message (attached) is the only output.

The text next to the "Send Test" says:

This will attempt to send a test mail to .

(With no email address before the .)

We should show some kind of error and disable the button if that env var isn't set. I'm sure the documentation tells you to make sure to always set that variable, but sometimes, people don't follow the documentation.

What browsers are you seeing the problem on?

Safari

Can you reproduce this on the public demo?

N/A

Do you have full multiple company support enabled?

No

If you have full multiple company support enabled, do you have location scoping to company enabled?

I do not have full multiple company support enabled

Application log output

[2026-04-13 13:21:34] production.DEBUG: Attempting to sending to   
[2026-04-13 13:22:34] production.DEBUG: Attempting to sending to

Browser console output

Common Issues

  • I have searched this repo for existing issues related to my issue (including closed issues)
  • My APP_URL is set correctly in my .env file (including http or https and no trailing slash)
  • I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable)
  • I have run database migrations (where applicable).
  • I have attached screenshots and/or videos of the issue (where applicable)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions