Sending email via Rev
Mark Smith
mark at maseurope.net
Tue Jul 25 19:22:41 EDT 2006
Richard, are you using the latest version (2.5.3) of libSmtp?
best,
Mark
On 25 Jul 2006, at 21:24, Alex Tweedly wrote:
> Richard Miller wrote:
>
>> 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?
>
> SMTP expects the message to have headers, then a blank line
> (indicates end of headers), then the body message - and recognizes
> the end of the message by receiving (I thought)
> <CRLF> . <CRLF>
> (i.e. a line beginning with a period, and otherwise blank). Not
> sure why the text you quoted above has a comma in there - so I'd
> try it with the comma, with the period and and with neither to see
> which works.
>
> (this is from vague memory, and after a quick look I can't find any
> documentation to support what I thought I remembered - so give it a
> shot, but don't be too surprised if it's wrong :- )
>
>
>
>
>
>
> --
> Alex Tweedly http://www.tweedly.net
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date:
> 24/07/2006
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list