SMTP protocol for manual use

Source: Internet
Author: User
Tags manual soap net
[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. Set timeout time in soap

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

In seconds

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

Get Error number string

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.