New email component!

Discussion in 'ASP.NET / ASP.NET Core' started by ElieK, Sep 28, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,

    My email is working perfectly. I received the email notice that .NET email component will be
    deprecated at Oct. 3rd. So I have to migrate my email component into Persists's mail object
    or ASPNetEmail object. It seems both of them not registered on the server because I always
    have errors complaining it cannot find the objects on such lines in my code.
    <%@ Import Namespace='aspNetEmail' %>
    ---
    <%@ Import Namespace='ASPEMAILLib' %>

    Can someone in DiscountASP run register command to register the component? Because the
    Components either recommanded by DiscountASP or claimed been installed in DiscountASP.
    I need someone doing things like:
    C:\>regsvr32 aspemail.dll

    or
    C:\>regsvr32 aspNetemail.dll

    Thanks

    Elie
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    I think you may be mistaken.

    We are deprecating ASPMail. We are not deprecating any of the .NET email component. ASPMail is a COM component.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Bruce,


    I have a couple of questions, because I wasconfused with your deprecation email as well. I actually was in the midst of the change on my site, and only realized I WASN'T on ASPEmail when I read this post.


    Since you are pushing anyways for a migration to Persits ASPEmail component, and it seems like a good tool (and I need to make changes to my site anyways), I would like to get over to it. As ElieK has mentioned, I'm also finding trouble migrating to this component. Your Knowledge base has a sample code solution for Classic ASP, but no code for ASP.NET (specifically VB.NET which I am using).


    I also tried many different ways (similar to ElieK) to get the component working, but was not successful - and ran into the same problems as ElieK.


    Can you please post some sample VB.NET code forthe Persits ASPEMail component ?


    Thanks,


    Pete
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    if you are using ASP.NET, do not use any of these COM objects. Use either the builtin SYstem.web.mail class or ASPNETEmail.

    Answer to other question:

    Test it with other email address like a hotmail or yahoo address. The problem may be w/ the email address you are sending to.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. I am developing a new site to replace my current production site hosted elsewhere - usingdiscountASP as host.</o:p>
    I am trying to create a form for my customers to send me a subscription email. I am having to use a temporary URL until I can have the site ready to switch the corretc domain name across</o:p>
    I have tried Persits ASPEmail. I have even resorted to just putting in the sample codethe hostsupply, but cannot even get that to work. I notice thatthe Persits manual examples show e.g. Mail.Host buthost show Mailer.Host, so I am confused there for starter !</o:p>
    See page http://northwoodto.web121.discountasp.net/newslettersub2.asp</o:p>
    What it does is come back with mail sent message, but nothing actually happens. No email is sent !</o:p>
    I have also tried to use code in Persits manual as per example because I need to link fields from aform but cannot even get the link on my main page to find it when I insert the code as per the manual, it seems to not be a valid way to name the form or page on this host site. I notice the example uses different context to the Persits manual, which is correct ?! ! </o:p>
    I understandthe Hostdon't debug my code, but why can't I even getHost sample to work. There is no point in me paying someone else to fix it if I cannot even gethost very basic example to work. I am not an ASP coder, just a WYSIWYG plodder, I have successfully developed forms using basic instructions on my old web site with Dreamweaver with FormMail but cannot even get a very basic examplethe host supply working. Why ?
    Any Help here ?</o:p>
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page