How to test emails
Created 5 years ago by cleancookie

Is there an easy way to catch all emails and send them to a specific email address? I am using valet but I am able to Homestead too which might have something built in I dont know about?

I know that Laragon has a feature which catches all mail()s but I am sadly not on Windows

cleancookie  —  5 years ago Best Answer
edster  —  5 years ago

Yea I use mailtrap, just put the values in your .env and it will work

ryanthompson  —  5 years ago

Ya I use log driver a lot of times locally - and mailtrap sometimes too. But it's native Laravel configuration for that kinda thing.

radja  —  4 years ago

Seems complicated, I like to use on my localhost. However with this version of pyro PHP mail doesn't work, so I change the mail config on the local server to use SMTP.