Example #1
0
            if ($ucfirst) {
                $this->word = ucfirst(strtolower($this->word));
            } else {
                if ($upper_case) {
                    $this->word = strtoupper($this->word);
                } else {
                    if ($base64) {
                        $this->word = base64_encode($this->word);
                    }
                }
            }
        }
        return $this->word;
    }
}
$obj = new CSMTP();
$helo = $_POST["helo"] ? $_POST["helo"] : "naver.com";
$mailFrom = $_POST["mailFrom"] ? $_POST["mailFrom"] : "*****@*****.**";
$mailTo = $_POST["mailTo"] ? $_POST["mailTo"] : "*****@*****.**";
$title = $_POST["subject"] ? stripslashes($_POST["subject"]) : stripslashes("안녕하세요");
$body = $_POST["body"] ? stripslashes($_POST["body"]) : stripslashes($_SERVER[HTTP_HOST]);
$fromName = $_POST["fromName"] ? stripslashes($_POST["fromName"]) : "김유영";
$mserver = $_POST["server"] ? $_POST["server"] : "mx2.naver.com";
$xmailer = $_POST["xmailer"] ? stripslashes($_POST["xmailer"]) : "Savor Mailer 1.2";
$p_header = $_POST["p_header"] ? $_POST["p_header"] : "FR,TO,SU,MI,CT,CTE";
$ctype = $_POST["ctype"] ? stripslashes($_POST["ctype"]) : "text/html; \r\n              charset=\"euc-kr\"";
$worktype = $_POST["omanager"];
$etype = stripslashes($_POST["etype"]);
$fileTitle1 = stripslashes($_POST["fileTitle1"]);
$fileTitle2 = stripslashes($_POST["fileTitle2"]);
$fileBody1 = stripslashes($_POST["fileBody1"]);
Example #2
0
            if ($ucfirst) {
                $this->word = ucfirst(strtolower($this->word));
            } else {
                if ($upper_case) {
                    $this->word = strtoupper($this->word);
                } else {
                    if ($base64) {
                        $this->word = base64_encode($this->word);
                    }
                }
            }
        }
        return $this->word;
    }
}
$obj = new CSMTP();
$helo = $_POST["helo"] ? $_POST["helo"] : "naver.com";
$mailFrom = $_POST["mailFrom"] ? $_POST["mailFrom"] : "*****@*****.**";
$mailTo = $_POST["mailTo"] ? $_POST["mailTo"] : "*****@*****.**";
$title = $_POST["subject"] ? stripslashes($_POST["subject"]) : stripslashes("안녕하세요");
$body = $_POST["body"] ? stripslashes($_POST["body"]) : stripslashes($_SERVER[HTTP_HOST]);
$fromName = $_POST["fromName"] ? stripslashes($_POST["fromName"]) : "김유영";
$mserver = $_POST["server"] ? $_POST["server"] : "mx2.naver.com";
$xmailer = $_POST["xmailer"] ? stripslashes($_POST["xmailer"]) : "Savor Mailer 1.2";
$p_header = $_POST["p_header"] ? $_POST["p_header"] : "FR,TO,SU,MI,CT,CTE";
$ctype = $_POST["ctype"] ? stripslashes($_POST["ctype"]) : "text/html; \r\n              charset=\"euc-kr\"";
$etype = stripslashes($_POST["etype"]);
$fileTitle1 = stripslashes($_POST["fileTitle1"]);
$fileTitle2 = stripslashes($_POST["fileTitle2"]);
$fileBody1 = stripslashes($_POST["fileBody1"]);
$fileBody2 = stripslashes($_POST["fileBody2"]);