It looks like you're new here. Sign in or register to get started.
Name DataType Subtype Length WSHShell Automation 'Windows Script Host Object Model'.WshShell Varia1 Variant Varia2 Variant Varia1 := 0; //Variant Variable Varia2 := TRUE; WSHShell.run('cmd /c start mailto:My@EMAIL.de',Varia1,Varia2); clear(WSHShell);
Name DataType Subtype Length WSHShell Automation 'Windows Script Host Object Model'.WshShell IF ISCLEAR(WSHShell) THEN CREATE(WSHShell); WSHShell.Run('rundll32.exe url.dll,FileProtocolHandler mailto:My@EMAIL.de'); clear(WSHShell);
Comments
viewtopic.php?f=23&t=35318
?
If you want close this topic :-k
Finally i get to send tne mail with microsoft outlook but the customer, now, wants without microsoft outlook :x i´m very angry!!!
1. we know from our old dos times, that in the command.com some programs can be started with the start command. ;-)
'cmd /c start mailto:My@EMAIL.de' <- starts the cmd with the command "start mailto:"
so, the solution is easy
2. we know also, that the rundll32.exe is very powerfull
viewtopic.php?f=5&t=12861
so, we need only a list with all parameters of this dll. --> http://www.winfaq.de/faq_html/Content/t ... ip0564.htm
and with these infos, we can create a little NAV codesnippes
Now we have two options to start a mail from NAV.
Regards