Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
Author | Forum: PowerTCP Mail for ActiveX Topic: SMTP QuickSend Protocol Error |
madrower From: bath, PA USA Posts: 3 Member Since: 07/30/04 |
posted July 30, 2004 10:16 PM I created a simple feedback form and a related ASP page (written in VBScript). The server I am uploaded this to uses DartMail ActiveX controls (the latest version). I keep on getting this error Message (described below). The email system used is a POP3 system (so a login is required). Im guessing that is the cause of this error message, but I don't know how to integrate the login part into the SMTP QuickSend. Any help is appreciated. Error Message: Dart.Pop.1 error '800a2b5d' A error occured in the protocol. Code Referred To: Set Smtp1 = Server.CreateObject("Dart.Smtp.1") --> Smtp1.QuickSend msgTo, msgFrom, msgSubject, msgBody, "" , Host All Parts of the QuickSend snippet is referring to a string of text in another part of the mail code. Thank you, Mike |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 30, 2004 11:31 PM It means something went wrong in the login process. Unfortunately the only way you can find out what it was is by using the Progress event to read the last message from the server (like we do in the samples) Since you are using ASP, you won't have the luxory of events so if you need to know the exact cause, the only way is to use the trace method to create a log of the session. |
madrower From: bath, PA USA Posts: 3 Member Since: 07/30/04 |
posted August 2, 2004 1:04 PM I tried to use the trace method from the help section from the PowerTCP Mail Tool ActiveX free download area. This is the code I used: Smtp1.Trace "Debug.txt", True, True, vbCrLf & "Sent: ", vbCrLf & "Recv: " . . . Smtp1.Trace This is the error I get: Microsoft VBScript runtime error '800a01a8' Object required: '' What am I missing? I uploaded this to the server that supports DartMail, and I repeatidly get this. Thank you for your help, Mike |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 2, 2004 1:13 PM The error message should have given you a line number telling exactly what line caused the error. My first guess would be that "Smtp1" was not created. Also, make sure that the file you use has it's permissions set so that the ASP user (usually IUSER_machinename) has full control. If the file doesn't exist, create an empty file. |
madrower From: bath, PA USA Posts: 3 Member Since: 07/30/04 |
posted August 2, 2004 1:27 PM Smtp1 was created. I changed the permissions of "debug.txt" and still got the error "Microsoft VBScript runtime error '800a01a8' Object required: '' ". I then made the file name null (I just put in " "--that also generated the same error. Any help This is how the trace and QuickSend is laid out: dim Smtp1 Smtp1.Trace "debug.txt", True, True, vbCrLf & "Sent: ", vbCrLf & "Recv: " Host = "mail.jumpingjackweb.com" Set Smtp1 = Server.CreateObject("Dart.Smtp.1") 'Smtp1.Login "mail.jumpingjackweb.com", "Jon.domanjumpingjackweb.com", "password" Smtp1.QuickSend msgTo, msgFrom, msgSubject, msgBody, "" , Host Smtp1.Trace Thank you for your help. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 2, 2004 1:44 PM In the code you just posted, you call Smtp1.Trace two lines before you create Smtp1. That is why you are getting the error. |
Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
![]() |