src/NotifierEmailSwiftMailerService.php
public function sendMessageOne($sendSettings) {
        $this->_bootstrapMailHandler();
        
        //get the key of the first message
        reset($this->messages);
        $key = key($this->messages);
        $this->_bootstrapMailMessage($key);
        
        //TODO: Chain exceptions here
        //try {
        $messageObj = $this->messages[$key]['messageObj'];
        $this->mailHandler->send($messageObj);
        //} catch (phpmailerException $ex) {
            //echo $ex->errorMessage();
        //}
        
        //pop the message stack
        $msgStack = $this->messages;
        array_shift($msgStack);
        $this->messages = $msgStack;
    }
public function sendMessageOne($sendSettings) {
        $this->_bootstrapMailHandler();
        
        //get the key of the first message
        reset($this->messages);
        $key = key($this->messages);
        $this->_bootstrapMailMessage($key);
        
        //TODO: Chain exceptions here
        //try {
        $messageObj = $this->messages[$key]['messageObj'];
        $this->mailHandler->send($messageObj);
        //} catch (phpmailerException $ex) {
            //echo $ex->errorMessage();
        //}
        
        //pop the message stack
        $msgStack = $this->messages;
        array_shift($msgStack);
        $this->messages = $msgStack;
    }
function resetMessageById() - Send message where the payload has only
one message in its listing
@param   mixed $messageId

@return  boolean