Telnet is powerful. Especially in some aspects of control and management, it is even more popular. So today we will explain the problems related to telnet SMTP. You can select the following troubleshooting steps based on your problem type. for
Many settings contain multiple protocols. Just like the port on which Telnet is connected to the SNMTP server we will explain today. How can this problem be solved? Next we will explain in detail how to telnet to port 25 on the computer running the
Only then can we find that we can use telnet to interact with the SMTP server. The ms smtm server also provides a command line interface.The http server can also be operated through TELNET, but there is no command line echo.
Use Telnet for SMTP //
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
In the use of Telnet sessions, we can still take some effective measures for SMTP communication. today we will explain this part. you can select the following troubleshooting steps based on your problem type. for example, if you encounter problems
Document directory
Use telnet to manually send and receive SMTP/pop mails
Use telnet to manually send and receive SMTP/pop mails
Note: manual input is represented in a blue font, and # is followed by a comment, which cannot be entered.
=========
Note: manual input is represented in a blue font, and # is followed by a comment, which cannot be entered.
========= Calculate the base64 encoded username and password first, Used for authentication login ==========[Crazywill @ localhost crazywill]
because PHP does not provide ready-made SMTP functions, but provides a less flexible mail () function, this function requires server configuration support, and does not support SMTP authentication, in many cases does not work properly, Therefore, it
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 =
smtp| Send mail
Because PHP does not provide out-of-the-box SMTP functions, it provides a less flexible mail () function that requires support on the server configuration and does not support SMTP authentication, and is not recommended for use in
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.