Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

JMail Server Object Error ASP 0177

Posted on 2009-04-16
2
Medium Priority
?
1,114 Views
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 = "mail.mysite.com"
JMail.AddRecipient "test@mysite.com"
JMail.Sender = strEmail
JMail.Subject = strSubject
JMail.Body = strComments
JMail.Execute
%>
0
Comment
Question by:swaggerking
2 Comments
 
LVL 22

Accepted Solution

by:
cj_1969 earned 1500 total points
ID: 24167991
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.
0
 

Author Closing Comment

by:swaggerking
ID: 31571477
I spoke with the hosting company and JMail was accidently disabled for that account. It works now.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Loops Section Overview

810 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