Send an email after a form is submitted
Created 6 years ago by edster

Is this best done as a form handler? Or does this belong somewhere else?

edster  —  6 years ago Best Answer

I ended up building a handler that fires out an email ^.^

edster  —  6 years ago

Looks like I could use the onSaved function in the builder OR create a handler, this email basically is to send to an admin and go, what do you want to do with this, with some options.

If I use onSaved, how can I pass this access request over?

Thanks!

ryanthompson  —  6 years ago

If I use onSaved, how can I pass this access request over?

What do you mean there?

You would just use Laravel notification / or some mailer servers from the callback if you wanted.

You could also fire an event and listen to that.. but sounds like you're fine with what you said.

edster  —  6 years ago Best Answer

I ended up building a handler that fires out an email ^.^