Windows 2000 Server
-
I have just installed IIS on my old PC (running Windows 2000). This is to test my Web Site before getting onto the real server. I am using asp to handle the Contact page where users can e-mail me. I have been using JMail in a Send_email.asp, but get the error:- 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. /My_Site/send_email.asp, line 108 Now line 108 is shown below:-
Set objJMail = Server.CreateObject("JMail.SMTPMail")
Have I configured the IIS program corectly. Note this PC is on my home network (shares internet via a gateway PC) and the only e-mail I have on it is my hotmail. i.e. what do I put in these fields:-
strMyEmailAddress = "myhotmail@hotmail.com"
strSMTPServerAddress = "smtp.hotmail.com"
Are the above correct? I did run this VB program to test JMail and it ran OK.
On Error Resume Next Set ob = CreateObject("JMail.SMTPMail") If Not ob Is Nothing Then MsgBox "object created OK" Set ob = Nothing Else MsgBox "failed to create object" End IF
Are they some settings in Personel Web Manager or somewhere else I need to set? grahamfff -
I have just installed IIS on my old PC (running Windows 2000). This is to test my Web Site before getting onto the real server. I am using asp to handle the Contact page where users can e-mail me. I have been using JMail in a Send_email.asp, but get the error:- 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. /My_Site/send_email.asp, line 108 Now line 108 is shown below:-
Set objJMail = Server.CreateObject("JMail.SMTPMail")
Have I configured the IIS program corectly. Note this PC is on my home network (shares internet via a gateway PC) and the only e-mail I have on it is my hotmail. i.e. what do I put in these fields:-
strMyEmailAddress = "myhotmail@hotmail.com"
strSMTPServerAddress = "smtp.hotmail.com"
Are the above correct? I did run this VB program to test JMail and it ran OK.
On Error Resume Next Set ob = CreateObject("JMail.SMTPMail") If Not ob Is Nothing Then MsgBox "object created OK" Set ob = Nothing Else MsgBox "failed to create object" End IF
Are they some settings in Personel Web Manager or somewhere else I need to set? grahamfffThe usual reason for this error message is that the component is not installed. Have you installed the mail component? In your test program, how did you declare the ob variable? If you didn't declare it, it will be of the type variant. That would mean that in case of failure to create the object, the value in the variable would not be Nothing, but Empty. --- b { font-weight: normal; }
-
The usual reason for this error message is that the component is not installed. Have you installed the mail component? In your test program, how did you declare the ob variable? If you didn't declare it, it will be of the type variant. That would mean that in case of failure to create the object, the value in the variable would not be Nothing, but Empty. --- b { font-weight: normal; }
Thanks Guffa, yes the JMail was not installed on the computer. I thought that installing IIS was all you needed to do. I havr downloaded and installed/registered JMail.dll. The script now runs a bit further. It hits a problem with objMail.Execute statement. Do I need to make some settings in the IIS or Personel Web Manager. For this testing I am using my hotmail, as thats all I have on this test computer. I use smtp.hotmail.co.uk and myhotmail@hotmail.co.uk Is this correct? Many thanks, Graham. grahamfff
-
Thanks Guffa, yes the JMail was not installed on the computer. I thought that installing IIS was all you needed to do. I havr downloaded and installed/registered JMail.dll. The script now runs a bit further. It hits a problem with objMail.Execute statement. Do I need to make some settings in the IIS or Personel Web Manager. For this testing I am using my hotmail, as thats all I have on this test computer. I use smtp.hotmail.co.uk and myhotmail@hotmail.co.uk Is this correct? Many thanks, Graham. grahamfff
Most certainly hotmail won't let you use their smtp server to send mails, if they even have a mail server at that address. If the server has an smtp server installed, you most likely don't need to specify the smtp address at all, or specify localhost as smtp server. --- b { font-weight: normal; }
-
Thanks Guffa, yes the JMail was not installed on the computer. I thought that installing IIS was all you needed to do. I havr downloaded and installed/registered JMail.dll. The script now runs a bit further. It hits a problem with objMail.Execute statement. Do I need to make some settings in the IIS or Personel Web Manager. For this testing I am using my hotmail, as thats all I have on this test computer. I use smtp.hotmail.co.uk and myhotmail@hotmail.co.uk Is this correct? Many thanks, Graham. grahamfff
Graham Not all free web mail providers give access to outbound SMTP. You may like to check out with your dialup or broadband ISP for SMTP services to us. Vasudevan Deepak Kumar Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/