Sending email via Rev

Richard Miller wow at together.net
Tue Jul 25 11:49:54 EDT 2006


I am testing Shao Shen's libsmtp function and having difficulty  
getting a test message to go through.

The smtpOpen command seems to work fine. When I use the smtpSend  
command and then the smtpGetTranscript command, I receive back a  
message that says:

              "message rejected"

I suspect the problem is with the way I am creating the message,  
which looks like this:

------------------------------------------- (the message doesn't  
include these dashes)
To: wow at together.net
Subject: rev email test

This is a test of sending email via Rev
-------------------------------------------

I also see a line coming back that says:

            354 Start mail input; end with <CRLF>, <CRLF>

Any ideas what I am doing wrong?

Thanks.
Richard Miller
Imprinter Technologies



More information about the use-livecode mailing list