Persits ASPEmail not installed on all servers?

Discussion in 'Classic ASP' started by JohnTheobald, Dec 10, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have multiple domains hosted here. Ever since the ASPMail object was taken away, I have been trying to get all my code from my various sites converted to a different email object. I selected Persits.ASPEmail to use. I have it working on one of sites (www.thehousedrs.com), but it simply will not work on another (www.handybooks.net).

    As soon as it hits the Server.CreateObject line it crashes and stops. Is it possible that this component is somehow not installed on the particular server where my site resides?

    Code I'm using is below...this exact code works on one site, but crashes on another.
    ----------------------------------------------------------
    Set Mailer = Server.CreateObject("Persits.MailSender")
    Mailer.Host = "localhost"
    Mailer.FromName = "House Doctors Website"
    Mailer.From= "[email protected]"
    Mailer.AddAddress "[email protected]"
    Mailer.Subject = "*** Employment Application ***"
    Mailer.Body = strMSG
    Mailer.Send
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    pls create a support ticket. I can't really tell from the information provided here.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
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