Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

MrChrxs's avatar

Setting up Queues correctly

Hello,

I think I’ve got an issue with how I set up a queue on Forge. I say think, because it could be a cache issue instead.

I’ve got 1 server running 2 sites: domain.com and dev.domain.com. I’ve got functionality where a form sends an email to the user, and a confirmation email to the admin. I set up a Queue for both sites using default settings aside from setting the path (/home/forge/domain.com).

I changed my ENV on the dev site to use Mailtrap, and deployed a change to one of my Mail classes (blade file for admin email). When I submitted the form. The user email went to Mailtrap, whilst the admin email went directly to my mail inbox.

I’m confused how/why this is happening? I’ve restarted the server, restarted the queue, ran config:clear, cache:clear.

It’s like the updated Mail is using the old ENV config?

Any help understanding where I went wrong would be appreciated, thank you

0 likes
2 replies
bugsysha's avatar

Show how you've configured those queues.

Please or to participate in this conversation.