smtp协议手工使用服务器教程 -电脑资料

电脑资料 时间:2019-01-01 我要投稿
【www.unjs.com - 电脑资料】

   

[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 .

    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)

最新文章