smtp协议手工使用

12/3/2006来源:Qmail人气:6982

  [[email protected] log]$ telnet smtp.263.net 25
Trying 211.150.96.25...
Connected to smtp.263.net.
Escape character is '^]'.
220 Welcome to coremail System(With Anti-Spam) 2.1 for 263(040326)
HELO [email protected]
250 smtp.263.net
mail from:[email protected]
250 Ok
rcpt to:[email protected]
250 Ok
data
354 End data with .
haha
.
250 Ok: queued as B9E452FF3E
quit
221 Bye
Connection closed by foreign host.


2. soap中设置超时时间
soap_init(%26amp;soap);
soap.send_timeout = 10;
soap.recv_timeout = 10;
以秒为单位

soap_init(%26amp;soap);
soap_set_namespaces(%26amp;soap, abs_namespaces);

获取错误号字符串
*soap_faultcode(%26amp;soap), *soap_faultstring(%26amp;soap)