src/Managers/EmailSenderManager.php
public function send(EmailSender $email, array $data = [])
    {
        $result = (new DataBuilderManager())->validateRaw($email->data_builder, $data);

        dispatch(new SendEmail($email, $data, $this->getAgent()));

        return $result;
    }
public function send(EmailSender $email, array $data = [])
    {
        $result = (new DataBuilderManager())->validateRaw($email->data_builder, $data);

        dispatch(new SendEmail($email, $data, $this->getAgent()));

        return $result;
    }
Send an email..

@param EmailSender $email
@param array       $data

@return \Railken\Lem\Contracts\ResultContract