Send messages with SMTP authentication in ASP.NET

xiaoxiao2021-03-06  40

In .NET Framework 1.1, this demand is considered, adding the Fields collection in the MailMessage component to increase the issuer of the shipper authentication in the ESMTP mail server. However, this method is only applicable to .NET Framework 1.1, not applicable to the .NET Framework version 1.0 version. The mail sender with the shipper authentication is as follows:

<% @ Import namespace = "system.web.mail"%>