public function send()
    {
        $settings = Application::getSettings()->mail;
        $mailTransport = new Transport(
            @$settings->smtp->host ? : 'localhost',
            @$settings->smtp->port ? : 25,
            @$settings->smtp->timeout ? : 15
        );

        $mailTransport->setUser(
            @$settings->smtp->user,
            @$settings->smtp->password
        );

        $mailTransport->addMessage($this);

        $mailTransport->send();
    }
public function send()
    {
        $settings = Application::getSettings()->mail;
        $mailTransport = new Transport(
            @$settings->smtp->host ? : 'localhost',
            @$settings->smtp->port ? : 25,
            @$settings->smtp->timeout ? : 15
        );

        $mailTransport->setUser(
            @$settings->smtp->user,
            @$settings->smtp->password
        );

        $mailTransport->addMessage($this);

        $mailTransport->send();
    }
public function send ( ) { $ settings = Application :: getSettings ( ) -> mail ; $ mailTransport = new Transport ( @ $ settings -> smtp -> host ? : 'localhost' , @ $ settings -> smtp -> port ? : 25 , @ $ settings -> smtp -> timeout ? : 15 ) ; $ mailTransport -> setUser ( @ $ settings -> smtp -> user , @ $ settings -> smtp -> password ) ; $ mailTransport -> addMessage ( $ this ) ; $ mailTransport -> send ( ) ; }
Sends the current mail message.
Sends the current mail message .