ホームページ >バックエンド開発 >PHPチュートリアル >Socket 8 を使用した電子メールの送信_PHP チュートリアル
61 //終了文字列を追加します
62 if(!ereg("
。
", $message))
63 $message .= "
。
";
64 $this-$#@62;show_debug($message, "out");
65 fputs($this-$#@62;fp, $message);
66
67 $this-$#@ 62;lastact="終了
";
68 if(!$this-$#@62;do_command($this-$#@62;lastact, "250"))
69 {
70 fclose($this-$#@62;fp);
71 return false;
72 }
73 }
74 return true;
75 }
76 else
77 {
78 $this-$#@62;show_debug("接続失敗!", "in"); return false;
80 }
81 }
あまり明確なことは言いません