Trond
03-16-2000, 07:18 PM
I am trying to get this asp-script to send a email, after the user have typed in his e-mail adress in a flash-form, but with all the scripts I have tried, I get this error, which is connected to the server.createobject command... Is there any other ways doing this?? It would be enough to be able to save the users emailadress in a text file or html file, together with the date/clock of post
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid ProgID. For additional information specific to this message please visit the Microsoft
Online Support site located at: http://www.microsoft.com/contentredirect.asp.
/Webpub/sendmail.asp, line 4
Browser Type:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Page:
GET /Webpub/sendmail.asp
<%
'Email ASP Code
'--------------------------------------------------------
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
'Change this RemoteHost to a valid SMTP address before testing
Mailer.RemoteHost = "mail.server.com"
Mailer.FromName = Request.form("name")+" " +Request.form("email")
Mailer.FromAddress = "ASP Send Mail"
Mailer.AddRecipient "Asp Send Mail", "mail@server.com"
Mailer.ReturnReceipt = true
Mailer.Subject = "ASP SEND MAIL @ VIRTUAL-FX"
Mailer.BodyText = "Name : " + Request.form("name")
Mailer.BodyText = "E-Mail : " + Request.form("email")
Mailer.BodyText = "Comments : " + Request.form("comments")
if not Mailer.SendMail then
Response.Write " Mailing Failed... Error is:
"
Response.Write Mailer.Response
else
Response.write "<center><font color=blue>"
end if
%>
<html>
<head>
<title>Send Mail ASP Confirmation page at Virtual-FX.net Flash Resources</title>
</head>
<body bgcolor="#FFFFE8">
<p align="center"><font face="Century Gothic" size="5">OH LOOK AT THE NICE CONFIRMATION PAGE
:)</font>
<p align="center"><font size="3" face="Arial"><a href="sendmail1.htm" target="_top">Return
to the Send Mail tutorial</a></font></p>
</body>
</html>
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid ProgID. For additional information specific to this message please visit the Microsoft
Online Support site located at: http://www.microsoft.com/contentredirect.asp.
/Webpub/sendmail.asp, line 4
Browser Type:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Page:
GET /Webpub/sendmail.asp
<%
'Email ASP Code
'--------------------------------------------------------
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
'Change this RemoteHost to a valid SMTP address before testing
Mailer.RemoteHost = "mail.server.com"
Mailer.FromName = Request.form("name")+" " +Request.form("email")
Mailer.FromAddress = "ASP Send Mail"
Mailer.AddRecipient "Asp Send Mail", "mail@server.com"
Mailer.ReturnReceipt = true
Mailer.Subject = "ASP SEND MAIL @ VIRTUAL-FX"
Mailer.BodyText = "Name : " + Request.form("name")
Mailer.BodyText = "E-Mail : " + Request.form("email")
Mailer.BodyText = "Comments : " + Request.form("comments")
if not Mailer.SendMail then
Response.Write " Mailing Failed... Error is:
"
Response.Write Mailer.Response
else
Response.write "<center><font color=blue>"
end if
%>
<html>
<head>
<title>Send Mail ASP Confirmation page at Virtual-FX.net Flash Resources</title>
</head>
<body bgcolor="#FFFFE8">
<p align="center"><font face="Century Gothic" size="5">OH LOOK AT THE NICE CONFIRMATION PAGE
:)</font>
<p align="center"><font size="3" face="Arial"><a href="sendmail1.htm" target="_top">Return
to the Send Mail tutorial</a></font></p>
</body>
</html>