[Repost] Spring with Jmail components in the ASP.NET environment

xiaoxiao2021-03-06  19

Configuration environment: .NET Framework 1.1, IMAI8.02, W3JMail4.3 implementation process: Unlike Jmail in ASP, you can use Server.createObject ("Jmail.Message"). In the .NET environment, you need to set it. 1. Install JMail4.3 2. Locate Jmail.dll (Program Files / Dimac / W3Jmail4) 3. Execute Program Files / Microsoft Visual Studio .NET / Frameworksdk / Bin / ILDASM.EXE (available using Visual Studio .NET 2003 command prompt) The format is as follows: TLBIMP C: / Program Files / Dimac / W3Jmail4 / Jmail.dll /out:mymail.dll / namespace: myjmail Generates Myjmail.dll After the copy to the root directory of the root directory. In the ASP.NET page, use this method reference: jmail.aspx <% @ page language = "c #" contenttype = "text / html"%> <% @ Import namespace = "myjmail"%>