src/Component/Mail/Mailer.php
public function send(MailMessage $message)
    {
        $this->headers->add(new Header('From', $message->getFrom()));

        $this->mailer->send($message, $this->headers);
    }
public function send(MailMessage $message)
    {
        $this->headers->add(new Header('From', $message->getFrom()));

        $this->mailer->send($message, $this->headers);
    }
public function send ( MailMessage $ message ) { $ this -> headers -> add ( new Header ( 'From' , $ message -> getFrom ( ) ) ) ; $ this -> mailer -> send ( $ message , $ this -> headers ) ; }
Tries to deliver the mail

@param \Opera\Component\Mail\MailMessage $message

@throws MailException
Tries to deliver the mail