Reply
Asp Mailer Err Go Daddy
Old 11-14-2008, 02:04 PM Asp Mailer Err Go Daddy
Junior Talker

Posts: 2
Trades: 0
Im having problems with asp on godaddy as well any help would be much appreciated. My code is:

<%

Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "info@web.com"
Mailer.FromAddress= "info@web.com"
Mailer.RemoteHost = "smtp.web.com"
Mailer.AddRecipient "Info", "info@web.com"

Mailer.Subject = "Info request"
Mailer.BodyText = "Name: " & Request.Form("name") & vbCrLf
Mailer.BodyText = "Address: " & Request.Form("address") & vbCrLf
Mailer.BodyText = "City: " & Request.Form("city") & vbCrLf
Mailer.BodyText = "State: " & Request.Form("state") & vbCrLf
Mailer.BodyText = "Zip: " & Request.Form("zip") & vbCrLf
Mailer.BodyText = "Phone: " & Request.Form("phone") & vbCrLf
Mailer.BodyText = "Email: " & Request.Form("reemail") & vbCrLf
Mailer.BodyText = "Type Of Loss: " & Request.Form("tol") & vbCrLf

if Mailer.SendMail then
Response.Redirect "thankYou.php"
else
Response.Write "Mail send failure. Error was " & Mailer.Response
end if

%>

The error generated is:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/aspMail.asp, line 3
800401f3
Nwise is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 11-15-2008, 08:51 AM Re: Asp Mailer Err Go Daddy
chrishirst's Avatar
Super Moderator

Posts: 22,277
Location: Blackpool. UK
Trades: 0
the SMTPsvg component is NOT installed on the server.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-17-2008, 01:53 AM Re: Asp Mailer Err Go Daddy
Junior Talker

Posts: 2
Trades: 0
Is that something i can do on my own, if so how would i go about that. GOdaddy isn't really much help. I appreciate yours.
Nwise is offline
Reply With Quote
View Public Profile
 
Old 11-17-2008, 05:30 AM Re: Asp Mailer Err Go Daddy
chrishirst's Avatar
Super Moderator

Posts: 22,277
Location: Blackpool. UK
Trades: 0
Unless you have console or remote desktop/terminal service access to the server to install the component, you can't do anything about it.

You script will need to use a SMTP component that IS installed.
CDOSYS is the "native" component for IIS, and there may be others that GoDaddy provide.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-27-2008, 07:04 AM Re: Asp Mailer Err Go Daddy
itHighway's Avatar
Skilled Talker

Posts: 73
Name: Zeeshan Dar
Location: GUJ
Trades: 0
Godaddy does not support the component you are using. It has support for CDONTS component. You can use the following code to send emails through your web site:
Quote:
set objMail=server.CreateObject("CDONTS.Newmail")

objMail.From="YourWebsiteEmailAddress"
objMail.To= "Receiver Email Address"
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.Subject="Test Email"
objMail.Body="Test Email Body"
objMail.Send

set objMail=nothing
itHighway is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Asp Mailer Err Go Daddy
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.13836 seconds with 13 queries