Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: SMTP Send error
topry

From: Marietta, GA USA
Posts: 6
Member Since: 12/13/04
posted December 13, 2004 3:10 PM

I am evaluating your PowerTCP Mail for .Net and am having a problem with the SMTP sample.

I have tried both the synch and async versions with the same results. (POP and IMAP samples worked fine)

When I attempt to send an email, I receive the error: "Unterminated line sent by server".

The email server is Exchange 2000. I have tried it both with and without authentication with the same result.

I can send without problem, using the methods within the .Net framework.

I have searched for this error text as well as general error descriptions within the help file but did not find anything.

FYI:The 'latest update' link on the new topic page returns a 404 error.

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 13, 2004 3:42 PM

The problem you describe would occur if the server reponded to a command without adding a crlf to the end of the response. Try using the Trace event (like we do in the samples) to create a log of your SMTP session, then post the last few lines of the log (just before the error occurs)

If you are evaluating it means you probably just downloaded it, in which case there is no update. In any event, I fixed the link you mentioned so that it correctly takes you to the update center on our main site ( http://www.dart.com/support/updatecenter.asp )
topry

From: Marietta, GA USA
Posts: 6
Member Since: 12/13/04
posted December 13, 2004 4:05 PM

Thank you for the prompt reply.

I have it working now.

The problem turned out to be the test machine subnet had been removed from the permitted relay IPs for that mail server. (The System.Web.Mail object was pointing to a server that allowed it).

FWIW- I had turned on the trace event, but there was no output and the descriptive of the message made me think it was something else.
Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX