Using DiscountASP's email components

Discussion in 'ASP.NET 2.0' started by JimR123, Feb 28, 2009.

  1. Hi,

    I'd like to be able to use the POP3 component that DiscountASP provides, but I don't understand exactly what I have to do to make my application (ASP.Net or Windows Forms) aware of the available component on the server.

    In my ASP.Net app, I've followed these instructions provided by D'ASP:
    https://support.discountasp.net/KB/a97/how-do-i-add-an-assembly-reference-in-the-webconfig-file.aspx
    https://support.discountasp.net/KB/a102/advanced-intellect-aspnetemail-information.aspx

    I don't understand which version of aspNetEmail I should be using (2.5 or 3.0), so went for 3.0, thinking it's newer and better.

    So, I've included the following section in my web.config file of my app:

    <configuration>
    <system.web>
    <compilation>
    <assemblies>
    <add assembly="aspNetEmail" Version="3.0.0.0" Culture="neutral" PublicKeyToken="bc571e8da1c1f543"/>
    </assemblies>
    </compilation>
    </system.web>
    </configuration>
    The trouble is, when I try and build my app, it does not like all of the "add" tag. It's happy with the "assembly" attribute, but doesn't recognize any of the others ("Version", "Culture", etc).

    My application is using the ASP.Net 2.0 framework.

    Please help!
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    what you want to do is to download the latest version of aspnetemail from their site (i believe it is 3.5).

    You'll just need to include the dll in the application's bin directory.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. AspNetEmail versions

    Hi,

    If I download the latest version of AspNetEmail, then place it in the bin folder on the server, will the licensing still be valid?

    Background info:

    I've built a web app that uses AspNetEmail to send email. The version I downloaded to work with locally is 3.5.2. Now, the only way I can get the app to compile is to add the new version to my projects "references," otherwise adding the "using aspNetEmail" to my code behind file will stop it from compiling, because the complier cannot find the dll.

    If I just compile the app (with the uses statement ) then move it over to the server, it will not run, complaning about not finding version 3.5.2. So I moved the new dll over to the server also, and everything runs fine. My concern is that when the trial license expires, will the component stop working?

    Thanks,

    Charles
     
  4. The license we have for this product that is already installed on the server should also cover the new version of aspnetemail you are using.
     

Share This Page