Andrus,
I dunno, have you seen the return codes?
http://www.1amsoftware.com/blatstuff/Blat%20Return%20Codes.htm The blat.dll on my machine is dated 1/24/2002.
I can get an return code of 1 by removing the quotes around the subject. Disabling the network card gave me return code of 1, and I expected a negative number.
>
>I tried your code but still Send() returns error code 1
>
>I observed that internet access does not occur at all.
>
>Any help ?
>
>>Andrus,
>>
>>
>>DECLARE INTEGER Send in blat.dll STRING blatstring
>>
>>lcString = [test.txt -subject "test blat" -to somebody@somewhere.com -f me@somewhereelse.com -server mail.airmail.net ]
>>lnResult = Send(lcString)
>>? lnResult
>>
>>
Steve Gibson