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

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

edster  —  7 years ago Best Answer

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

edster  —  7 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  —  7 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  —  7 years ago Best Answer

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