网站运营
位置:首页>> 网站运营>> smtp协议手工使用

smtp协议手工使用

 来源:asp之家 发布时间:2010-03-13 19:11:00 

标签:smtp,协议

[xmail@xmail 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 weiqiong@cctk.net
250 smtp.263.net
mail from:weiqiong@cctk.net
250 Ok
rcpt to:g2_t1@263.net
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
haha
.
250 Ok: queued as B9E452FF3E
quit
221 Bye
Connection closed by foreign host.

2. soap中设置超时时间

soap_init(&soap);
soap.send_timeout = 10;
soap.recv_timeout = 10;

以秒为单位

soap_init(&soap);
soap_set_namespaces(&soap, abs_namespaces);

获取错误号字符串

*soap_faultcode(&soap), *soap_faultstring(&soap)

0
投稿

猜你喜欢

手机版 网站运营 asp之家 www.aspxhome.com