public function submissionSendEmail(array $formData, \stdClass $form_settings)
    {
        $subject = config('coaster::site.name') . ': New Form Submission - ' . $this->_block->label;
        return Email::sendFromFormData([$form_settings->template, $this->_block->name], $formData, $subject, $form_settings->email_to, $form_settings->email_from);
    }
public function submissionSendEmail(array $formData, \stdClass $form_settings)
    {
        $subject = config('coaster::site.name') . ': New Form Submission - ' . $this->_block->label;
        return Email::sendFromFormData([$form_settings->template, $this->_block->name], $formData, $subject, $form_settings->email_to, $form_settings->email_from);
    }
public function submissionSendEmail ( array $ formData , \ stdClass $ form_settings ) { $ subject = config ( 'coaster::site.name' ) . ': New Form Submission - ' . $ this -> _block -> label ; return Email :: sendFromFormData ( [ $ form_settings -> template , $ this -> _block -> name ] , $ formData , $ subject , $ form_settings -> email_to , $ form_settings -> email_from ) ; }
Send the form data by email
@param array $formData
@param \stdClass $form_settings
@return boolean
Send the form data by email