I'm having a problem with smtpmail.p.
I use the most recent version, but when I try to send I mail, this happens:
I establish a connection with the mail server, a Solaris qmail server. The server is set to relay mails, and is working perfectly well if I use the Blat program to do so.
Everything seems to be working fine, but when I run the function newstate and try to set the newstate to be 6 ("vstate = newstate(6, crlf + "." + crlf, hsocket)."), I get disconnected from the server.
This happens at exactly this point:
"WriteSuccess = hSocket:WRITE(vbuffer, DataBytesWritten + 1, MessageSize - DataBytesWritten)."
writesuccess is set to false, and I do no longer have a connection to the server.
Any explanation, please!!
Thank You.
Jan Erik
I use the most recent version, but when I try to send I mail, this happens:
I establish a connection with the mail server, a Solaris qmail server. The server is set to relay mails, and is working perfectly well if I use the Blat program to do so.
Everything seems to be working fine, but when I run the function newstate and try to set the newstate to be 6 ("vstate = newstate(6, crlf + "." + crlf, hsocket)."), I get disconnected from the server.
This happens at exactly this point:
"WriteSuccess = hSocket:WRITE(vbuffer, DataBytesWritten + 1, MessageSize - DataBytesWritten)."
writesuccess is set to false, and I do no longer have a connection to the server.
Any explanation, please!!
Thank You.
Jan Erik