src/FlexiPeeHP/FlexiBeeRO.php
public function sendByMail($to, $subject, $body, $cc = null)
    {
        $this->setPostFields($body);

        $this->performRequest(rawurlencode($this->getRecordID()).'/odeslani-dokladu?to='.$to.'&subject='.urlencode($subject).'&cc='.$cc
            , 'PUT', 'xml');

        return $this->lastResponseCode == 200;
    }
public function sendByMail($to, $subject, $body, $cc = null)
    {
        $this->setPostFields($body);

        $this->performRequest(rawurlencode($this->getRecordID()).'/odeslani-dokladu?to='.$to.'&subject='.urlencode($subject).'&cc='.$cc
            , 'PUT', 'xml');

        return $this->lastResponseCode == 200;
    }
public function sendByMail ( $ to , $ subject , $ body , $ cc = null ) { $ this -> setPostFields ( $ body ) ; $ this -> performRequest ( rawurlencode ( $ this -> getRecordID ( ) ) . '/odeslani-dokladu?to=' . $ to . '&subject=' . urlencode ( $ subject ) . '&cc=' . $ cc , 'PUT' , 'xml' ) ; return $ this -> lastResponseCode == 200 ; }
Send Document by mail

@url https://www.flexibee.eu/api/dokumentace/ref/odesilani-mailem/

@param string $to         Email ecipient
@param string $subject    Email Subject
@param string $body       Email Text

@return boolean mail sent status
Send Document by mail