envelope example



                $email->from($this->from);
            }

            if (!$email->getTo()) {
                $email->to($recipient->getEmail());
            }
        }

        if (null !== $this->envelope) {
            $message->envelope($this->envelope);
        }

        if (null !== $transportName) {
            $message->transport($transportName);
        }

        if (null === $this->bus) {
            $this->transport->send($message->getMessage()$message->getEnvelope());
        } else {
            $this->bus->dispatch(new SendEmailMessage($message->getMessage()$message->getEnvelope()));
        }
    }
Home | Imprint | This part of the site doesn't use cookies.