by Carl Ranson >> Fri, 6 Apr 2001 3:07:36 GMT
Hi All...im back,
I want to have my jade application create a new email in outlook, put in some default message and address, and attach a file or two. The user will be responsible for sending the message.
I know that many of us have done this in the past, and would apreciate any code that people are able to share.
Thanks,
CR
btw, I've been playing with the following technique, which works for short messages, but doesn't seem to allow attachments.
Its probably the fastest way to get an email though:
vars
command, alias : String;
args : StringArray;
exitValue : Integer;
result : Integer;
today : Date;begin
command := "command.com" ;
create args transient;
args[1] := '/c ';
args[2] := "start mailto:me@home.com?body=Message%20Body%0d%0aGoes%20here;subject=test;
result := node.createExternalProcess("c:\winNT\System32", "cmd.exe", args, alias, false, false, exitValue);
// result := node.createExternalProcess("c:\windows\System32", "command.com", args, alias, false, false, exitValue);
end;