In the chapter [Creating & Sending Messages](https://symfony.com/doc/master/mailer.html#creating-sending-messages), the example shows the usage of a return object from MailerInterface::send(). ```php /** @var Symfony\Component\Mailer\SentMessage $sentEmail */ $sentEmail = $mailer->send($email); // $messageId = $sentEmail->getMessageId(); ``` This is wrong, because the MailerInterface is returning `void`. ```php interface MailerInterface { /** * @throws TransportExceptionInterface */ public function send(RawMessage $message, Envelope $envelope = null): void; } ```