Home >Backend Development >PHP Tutorial >Sending email using Socket 8_PHP Tutorial

Sending email using Socket 8_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 17:28:101221browse

61 //Add the end string
62 if(!ereg(" . ", $message))
63 $message .= " . ";
64 $this-$#@62;show_debug($message, "out");
65 fputs($this-$#@62;fp, $message);
66
67 $this-$#@62;lafact="QUIT ";
68 if(!$this-$#@62;do_command($this-$#@62;lafact, "250"))
69 {
70 fclose($this-$# @62;fp);
71 return false;
72 }
73 }
74 return true;
75 }
76 else
77 {
78 $ this-$#@62;show_debug("Connect failed!", "in");
79 return false;
80 }
81 }
I won’t go into details that are very clear. .

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531805.htmlTechArticle61 //Add the end string 62 if(!ereg(".", $message)) 63 $message .= "."; 64 $this-$#@62;show_debug($message, "out"); 65 fputs($this-$#@62;fp, $message); 66 67 $this-$#@ 62;lastact="QUIT...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn