Re: Blat wrapper question
- Posted by Michael Raley <thinkways at yahoo.com> May 13, 2005
- 466 views
George Walters wrote: > > > When I type this command directly from a command prompt in XP the email > gets sent correctly. But from a system_exec I get a return code of 1 which > the documentatin says a bad command string or non existent file. Does > anyone know why? I see nothing wrong when the puts displays the cmdString. > > }}} <eucode> > cmdString = "blat.exe " & rptFile & " -to gwalters at sc.rr.com -subject > \"archived invoice\"" > > puts(1, cmdString & "\n") > tmp = gets(0) > rc = system_exec(cmdString,0) > trace(1) > </eucode > > the var rptFile does exist. rc has a value of 1. > you can put the subject line into a text file and use the -sf switch you can also try using the same command line from the blatsend() function in the wrapper, omitting the "blat.exe " part. --"ask about our layaway plan". --