When trying to send an email using Tencent Enterprise Email with .NET/C# code, the following exception occurs:
Unhandled exception. System.Net.Mail.SmtpException: The operation has timed out. Review:
The hyperlink login is visible.
POP3/SMTP protocol Receiving mail server: pop.exmail.qq.com, using SSL, port number 995 Sending mail server: smtp.exmail.qq.com, using SSL, port number 465 The following servers are available for overseas users Receiving mail server: hwpop.exmail.qq.com, using SSL, port number 995 Sending mail server: hwsmtp.exmail.qq.com, using SSL, port number 465 solution
Using port 587, send mail.
Port 465 uses the SMTPS protocol Port 587 uses the starttls protocol
Port 465 is an SSL/TLS protocol, and the content is protected from the beginning, so you can't see the original text.
Port 465 (SMTPS): Port 465 is open for SMTPS (SMTP-over-SSL) protocol services, which is a variant of the SMTP protocol based on the SSL security protocol, which inherits the high security and reliability of asymmetric encryption of the SSL security protocol to prevent email leakage. SMTPS, like the SMTP protocol, is also used to send emails, but it is more secure, prevents emails from being intercepted and leaked by hackers, and can also realize the anti-denial function of email senders. Prevent the sender from deleting the sent email after sending it, and refuse to admit that such an email has been sent.
Port 587 is part of the STARTTLS protocol, but he protected the original text after the STARTTLS command was executed.
The hyperlink login is visible.
The code is as follows:
(End)
|