Experiment Catalogue
Learn about the process of sending e-mail to an ASP program, and familiarize yourself with the settings and use of SMTP server.
Experimental environment
Bird's own machine, Chinese NT Server 4 + IIS4 (with SMTP server installed), machine name: SPF
Bird company mail server Chinese NT Server 4 + Exchange Server 5.5, machine name confidential:),
Two sample programs readmail.asp & sendmail.asp
Experimental process.
1. Send mail to your own machine
IE4 Address bar input Http://spf/test/sendmail.asp?from=spf@spf&to=spf@spf&subject=haha&body=xixi
And then type HTTP://SPF/TEST/READMAIL.ASP?NAME=SPF&EMAIL=SPF@SPF, hey, look at my message.
Check the Inetpubmailrootdrop and find a eml suffix file.
2. Create remote domain
In the management console, right-click the Default SMTP site, select Menu new, and select domain,
Domain type select remote, domain name Input bird company mail server in the local domain domain name.
Then send a message to the bird's company email account with SendMail:
Http://spf/test/sendmail.asp?from=spf@spf&to=spf@xxxxx.xxx&subject=haha&body=xixi
(Haha, you later removed the message from mail server with Outlook 98.) )
Let me try again. Send mail to Shen.pengfei@263.net. Unfortunately, it failed. Check the Inetpubmailrootadmail.
Found this poor mail.
3. Set up smart host
In the management console, right-click the default SMTP site and eject the Default SMTP Site Properties window
View the Delivery property page.
Set the official domain name fully qualified domain name, if any.
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.