Mailer/TemplatingEngineMailer.php
public function sendMessage($recipients, $sender, $subject, $templateName, array $context = array())
    {
        $this->client->sendMessage($this->createMessage(
            $recipients,
            $sender,
            $subject,
            $this->render($templateName, $context)
        ));
    }
public function sendMessage($recipients, $sender, $subject, $templateName, array $context = array())
    {
        $this->client->sendMessage($this->createMessage(
            $recipients,
            $sender,
            $subject,
            $this->render($templateName, $context)
        ));
    }
public function sendMessage ( $ recipients , $ sender , $ subject , $ templateName , array $ context = array ( ) ) { $ this -> client -> sendMessage ( $ this -> createMessage ( $ recipients , $ sender , $ subject , $ this -> render ( $ templateName , $ context ) ) ) ; }
Send a transactional message using the given template.

@param mixed  $recipients
@param mixed  $sender
@param string $subject
@param string $templateName
@param array  $context
Send a transactional message using the given template .