- nike air max 90 pas cher
- 16373
|
NET/C# code to try to use Tencent enterprise mailbox to send mail, the exception is as follows:
Unhandled exception. System.Net.Mail.SmtpException: The operation has timed out. Review:
NET/C# code to send email via html template h ttps:// www.itsvse.com/thread-4424-1-1.html Net/c# Send mail via html template h ttps:// www.itsvse.com/thread-2596-1-1.html
h ttps:// work.weixin.qq.com/help?person_id=0&doc_id=423&helpType=exmail
POP3/SMTP protocol Incoming mail server: pop.exmail.qq.com , using SSL, port number 995 Sending mail server: smtp.exmail.qq.com , using SSL, port number 465 Overseas users can use the following servers Incoming mail server: hwpop.exmail.qq.com , using SSL, port number 995 Sending mail server: hwsmtp.exmail.qq.com , using SSL, port number 465 Solution
Use port 587 to send mail.
Port 465 uses smtps protocol Port 587 uses starttls protocol
Port 465 is for SSL/TLS communication protocol The content is protected at the beginning and the original text cannot be seen.
Port 465 (SMTPS): Port 465 is open for SMTPS (SMTP-over-SSL) protocol service, which is a variant of SMTP protocol based on SSL security protocol, which inherits the asymmetric encryption of SSL security protocol of a high degree of security and reliability, which prevents the leakage of emails.SMTPS is also used to send emails, just more secure, just like SMTP protocol. SMTPS is the same as SMTP protocol, it is also used to send emails, but it is more secure, preventing emails from being intercepted and leaked by hackers, and also realizing the anti-repudiation function of email senders. It prevents the sender from deleting the email after sending it and refusing to admit that he has sent such an email.
Port 587 is the STARTTLS protocol which belongs to the TLS communication protocol, but he protects the original text only after the execution of the STARTTLS command.
h ttps:// stackoverflow.com/questions/15796530/what-is-the-difference-between-ports-465-and-587
The code is below:
(End) |
Previous:Fudan University General Education Exam: Campus Culture EducationNext: .NET/C# message queue of Kafka operation [with source code]
|