Blat help - again
- Posted by AndyDrummond Nov 03, 2009
- 1621 views
I am trying to get Blat.ew to work, with no joy at all. I see some of you guys have it working, so maybe you can tell me why this code fails:
atom err puts(1, "sending...please wait\n") --set up the registry entries so the send commands will work err = sendBlat("-install smtp.googlemail.com AndyFDrummond@googlemail.com") puts(1, getBlaterror(err)) puts(1,"\n") --send a simple message to me with subject Hello err = sendmail("Andy@kestreltele.com", "Hello") puts(1, getBlaterror(err)) puts(1,"\n")
The first call returns 0, success, the second returns 2, Message body or attachment does not exist. The command file, \eublatbody, simply contains the original "-".
The code in eublat.ew doesn't seem to do what is required, but I just don't have the time or, now, the patience, to work through it. I assume it works, and that I have done something silly. The "sample usage" from the eublat readme is what I started with, and that does just what I said above.
Any ideas, gentlemen, or should I simply go and become a gardener??