Experimental environment:
Servers: NT server, IIS40, SMTP server (ip=10.1.3.120)
Client: Win98,outlook express,ie4 (ip=10.1.3.123)
Network: Intranet, with one IP (202.98.35.55) line connected to the Internet through a gateway (router)
First, send e-mail to the Internet
1. In asp:
No settings changes have been made to SMTP, sending an e-mail message with the bird's sendmail.asp, recipient
white@linux.cqi.com.cn,10 seconds after the ICQ report has new mail (of course it happens that my ICQ every
5 minutes to detect an e-mail message).
2. With Outlook EXPRESS:
Pop3=990.net
smtp=10.1.3.120
Username=wwwasp
pass=**********
No changes were made to SMTP, recipient: white@linux.cqi.com.cn
Roger that in two minutes.
Second, set up SMTP
1. Add Local white.com
Sendmail.asp Recipient white@white.com
Readmail.asp received (with white,white@white.com)
2. The experiment uses the IP address to send the mail
Sendmail.asp: white@10.1.3.120
Not receive
Add the local 10.1.3.120, and then try again, received.
3. Set smart host (translated to "relay host" more properly)
It seems to be quicker to send an email to the Internet, but not sure
4. Send mail from Outlook Express to SMTP
Recipient: white@white.com
Change the SMTP address to the address of our experimental SMTP server before sending
Received with readmail.asp.
Iii. conclusion of the experiment
Birds can not send mail to 263 before setting the smart host, I'm afraid it is a bit slow even 263.
After using the smart host, the message is forwarded with relay and successfully sent.
The process of sending mail to SMTP appears as follows:
First determine whether the recipient of the message is local domain, that is, whether the recipient address is the following
Domain (SMTP has local domain localhost), if it is, simply put it in the drop directory,
If not, it is placed in the drop directory, which is later transferred to the queue directory and cleared after the send is completed.
When sent, if you set up a smart host, directly to the smart host, if not, to DNS
Go up and find the domain name in the recipient's address (in DNS for an MX record)
The SMTP server establishes a connection, sends the message over, and if it is not found, considers it a bad letter, go to
Badmail directory.
Before you send it, you need to queue and use the directory pickup and SortTemp.
The SMTP process of receiving a message is assumed:
The SMTP server receives letters from other SMTP servers or SMTP client, and the processing process is the same as before.
Iv. Other
See the birds of the two program, found that the original SMTP and the function of receiving mail, had always thought
He only has the function of sending mail. But it seems like you can only use the bird's readmail.asp to collect mail,
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.