Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
Author | Forum: PowerTCP Mail for ActiveX Topic: Mail QuickSend in ASP |
shawnfunnyahoo From: LA, CA USA Posts: 9 Member Since: 01/30/04 |
posted January 30, 2004 4:50 PM What is wrong with this code? I am trying to work the mail tool in ASP and I just want to use QuickSend. <% dim hostipaddress as string Dim SMTP1 As New DartMail.Smtp hostipaddress = 'address of host here SMTP1.QuickSend "test@test.com", "from@test.com", "test", "testmessage", , hostipaddress %> |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 30, 2004 4:52 PM What error do you get? |
shawnfunnyahoo From: LA, CA USA Posts: 9 Member Since: 01/30/04 |
posted January 30, 2004 5:02 PM Ok wait, that code I sent before isnt the code. Here is the code: <% dim HostIpAddress Dim SMTP1 Set SMTP1 = Server.CreateObject("DartMail.SMTP") hostipaddress = "209.87.155.231" SMTP1.QuickSend "test@test.com", "test@test.com", "test", "testmessage", , hostipaddress %> The error I get is: Server object error 'ASP0177 : 800401f3 Server.CreateObject Failed |
shawnfunnyahoo From: LA, CA USA Posts: 9 Member Since: 01/30/04 |
posted January 30, 2004 5:03 PM The first code I sent you works in VB though so I know the component is working. Are you sure I am putting in the code right? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 30, 2004 5:04 PM You have the name of the control wrong. It should be: Set SMTP1 = Server.CreateObject("Dart.Smtp") |
shawnfunnyahoo From: LA, CA USA Posts: 9 Member Since: 01/30/04 |
posted January 30, 2004 5:06 PM I changed it and its the same error. |
shawnfunnyahoo From: LA, CA USA Posts: 9 Member Since: 01/30/04 |
posted January 30, 2004 5:08 PM ok actually I am getting a new error now: Server object error 'ASP 0178 : 8007005 Server.CreateObject Access Error |
shawnfunnyahoo From: LA, CA USA Posts: 9 Member Since: 01/30/04 |
posted January 30, 2004 5:11 PM Here is more about the new error: The call to Server.CreateObject failed while checking permissions. Access is denied to this object. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 30, 2004 5:13 PM Try "Dart.Smtp.1" If that doesn't work, please answer the following: Is this the same machine that you successfully ran the VB code on? If not, did you actually install and register the DLLs on the machine? You would need DartSock, DartUtil and DartMail. Also if you have a license already you would have to export the key to the server as explained in "Distribution under IIS" in the Online Help. If you are on trial, you would have to install the trial to the server machine as well. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 30, 2004 5:17 PM You also may want to check this google search. It looks like a lot of people have had your problem in the past: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=%22ASP+0178%22+%2B+permissions |
shawnfunnyahoo From: LA, CA USA Posts: 9 Member Since: 01/30/04 |
posted February 1, 2004 12:11 PM Ok, the problem was that I installed it from my terminal server and it put the dll files in some weird administrator directory and the system had no access to it. I just uninstalled it and installed it from the regular physical login and it worked. |
Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
![]() |