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

azbx's avatar
Level 17

Email Verification not working

Greetings everyone!, Im working on an opensource laravel octane (frankenphp) application with docker and inertiajs (vuets) and ever since ive switched from sail to the frankenphp binary, ive noticed that emails never send out. If i setup the application without octane and docker it works just fine.

Here is a link to the github repo.

https://github.com/netisu/melody

If anyone could take a look and guide me on this i would be as happy as a lark!

2 likes
13 replies
vincent15000's avatar

What's not working ? Sending an email ? Or the email verification for a new user ?

1 like
azbx's avatar
Level 17

@vincent15000 Both sir.

I have the sending delegated to a job.

The job runs but it does not send the email out.

Im using mailtrap for it.

2 likes
azbx's avatar
Level 17

@vincent15000 I have now updated the code to use api email sending and it still doesn't work.

2 likes
Snapey's avatar

if your job does not fail, and no errors are evident, then Laravel thinks it sent the email.

The issue is unlikely to be on your application, but rather where you are expecting to see the outcome.

When you say you used mailtrap, is this for 'trapping' the email, or do you have their paid mail server service?

2 likes
azbx's avatar
Level 17

@Snapey I mean the service.

I used to use mailpit in development but i have removed everything except the image.

2 likes
Snapey's avatar

@azbx which service? Mailtrap has two services. Mail sending and mail testing.

Not interested in Mailpit.

2 likes
Snapey's avatar
Snapey
Best Answer
Level 122

@azbx try sending to mailtrap for testing only to start with

2 likes
azbx's avatar
Level 17

@Snapey Well when I did so I saw that the emails were still not being sent.

I have looked at my config and figured out whats wrong.

2 likes
Jsanwo64's avatar

Log the error and check what is thrown in your log file or Try Sending Email Directly From Tinker (If this fails, it's not a queue issue, it's the config or connectivity.)

2 likes

Please or to participate in this conversation.