Core code:
Copy Code code as follows:
public class Mail
{
#region Message Parameters
static public string accountname = system.configuration.configurationmanager.appsettings["Smtpaccountname"];
static public string password = system.
Core code:
Copy CodeThe code is as follows:
public class Mail
{
#region Message Parameters
static public string accountname = system.configuration.configurationmanager.appsettings["Smtpaccountname"];
static public string password =
I realized that I could use Telnet to interact with the SMTP server. The SMTM server for MS also provides an interface for command-line interaction.HTTP server is also able to use Telnet to operate, but there is no command line echo.
Using Telnet
Table (1) SMTP CodeCode definition421 service not available, hosts in the closing transmission channel brackets cannot provide normal services, close the transmission pipeline, and emails will be stuck on the host450 requested mail action not taken:
Basic structure of SMTP
The SMTP (Simple Mail Transfer Protocol) protocol is designed to ensure reliable and efficient delivery of e-mail. The TCP/IP protocol has an SMTP protocol in the application layer, but in fact it has nothing to do with the
Set up an SMTP server under Linux and send mail using the Mail command fine-Solution steps:1.vi/etc/mail.rc
Append the following to the end:
set [email protected] // Default e-mail user email address set smtp=smtp.domain.com
Network Protocol Model Analysis Network Protocol designers should not design a single, huge protocol to complete the details of all forms of communication regulations, but should divide the communication problems into multiple small problems, then a
1. E-Mail SendingThe client is sent to the server side, and the Postfix software provides MTA,MDA. MTA provides SMTP service, accepts mail (reads DNS MX record)--"Save MDA transfer mail MUA user agent1-1 the server submits the e-mail message to TCP
What is TCP/IP?
TCP and IP protocols refer to two network protocols or data transmission methods used on the Internet ). They are transmission control protocol and Internet connection protocol. These two protocols are part of many TCP/IP protocol
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.