sendData example

return false;
            }
        }

        if ($this->sendCommand('data')) {
            $this->SMTPEnd();

            return false;
        }

        // perform dot transformation on any lines that begin with a dot         $this->sendData($this->headerStr . preg_replace('/^\./m', '..$1', $this->finalBody));
        $this->sendData($this->newline . '.');
        $reply = $this->getSMTPData();
        $this->setErrorMessage($reply);
        $this->SMTPEnd();

        if (strpos($reply, '250') !== 0) {
            $this->setErrorMessage(lang('Email.SMTPError', [$reply]));

            return false;
        }

        
Home | Imprint | This part of the site doesn't use cookies.