public function sendUnencrypted(Message $message, bool $force = false)
    {
        if (!$this->serverKeyFingerprint) {
            if ($force) {
                // Unencrypted, unsigned
                $message->setBody($message->getBodyText());
            }
            return;
        }
        $this->mailer->send(
            // Unencrypted, signed:
            $this->sign($message)
        );
    }
public function sendUnencrypted(Message $message, bool $force = false)
    {
        if (!$this->serverKeyFingerprint) {
            if ($force) {
                // Unencrypted, unsigned
                $message->setBody($message->getBodyText());
            }
            return;
        }
        $this->mailer->send(
            // Unencrypted, signed:
            $this->sign($message)
        );
    }
public function sendUnencrypted ( Message $ message , bool $ force = false ) { if ( ! $ this -> serverKeyFingerprint ) { if ( $ force ) { // Unencrypted, unsigned $ message -> setBody ( $ message -> getBodyText ( ) ) ; } return ; } $ this -> mailer -> send ( // Unencrypted, signed: $ this -> sign ( $ message ) ) ; }
Email a message without encrypting it.

@param Message $message The message data
@param bool $force      Send even if we don't have a private key?
@return void

@throws GPGMailerException
@throws \Crypt_GPG_FileException
@throws \PEAR_Exception
Email a message without encrypting it .