/**
  * @since      4.5.0
  * @deprecated 4.9.0   Moved to EED_Messages Module
  * @param string   $messenger    a string matching a valid active messenger in the system
  * @param string   $message_type Although it seems contrary to the name of the method, a message type name is still required to send along the message type to the messenger because this is used for determining what specific variations might be loaded for the generated message.
  * @param stdClass $message      a stdClass object in the format expected by the messenger.
  *
  * @return bool          success or fail.
  */
 public function send_message_with_messenger_only($messenger, $message_type, $message)
 {
     // EE_messages has been deprecated
     $this->_class_is_deprecated(__FUNCTION__);
     //setup for sending to new method.
     /** @type EE_Messages_Queue $queue */
     $queue = EE_Registry::instance()->load_lib('Messages_Queue');
     //make sure we have a proper message object
     if (!$message instanceof EE_Message && is_object($message) && isset($message->content)) {
         $msg = EE_Message_Factory::create(array('MSG_messenger' => $messenger, 'MSG_message_type' => $message_type, 'MSG_content' => $message->content, 'MSG_subject' => $message->subject));
     } else {
         $msg = $message;
     }
     if (!$msg instanceof EE_Message) {
         return false;
     }
     //make sure any content in a content property (if not empty) is set on the MSG_content.
     if (!empty($msg->content)) {
         $msg->set('MSG_content', $msg->content);
     }
     $queue->add($msg);
     return EED_Messages::send_message_with_messenger_only($messenger, $message_type, $queue);
 }