JMail Server Object Error ASP 0177

Posted on 2009-04-16
Last Modified: 2013-11-30
I'm using a shared hosting service on Win2003. I keep getting the same error message when I run JMail:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/confirmation.asp, line 91

Line 91 is the following:
Set JMail = Server.CreateObject("JMail.SMTPMail")

I 'm using the exact following script with other sites with the exact same hosting provider and it works like a charm.

My Code:
DIM strName, strEmail, strSubject, strComments, Mailer
strName = Request.Form("Name")
strEmail = Request.Form("Email")
strSubject = Request.Form("Subject")
strComments = Request.Form("Comments")

Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = ""
JMail.AddRecipient ""
JMail.Sender = strEmail
JMail.Subject = strSubject
JMail.Body = strComments
Question by:swaggerking
    LVL 22

    Accepted Solution

    Either the code on the server is not finding the JMail code or there might be an issue using JMail as the variable reference .... it might be a reserved word.

    Author Closing Comment

    I spoke with the hosting company and JMail was accidently disabled for that account. It works now.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now