I need to send an email with an attachment from my basic code. From the Base handbook I found this code:
Code: Select all
objShell = createUnoService("com.sun.star.system.SystemShellExecute")
objShell.execute("mailto:" & strEmailAddress & "?subject=" & strSubject & "?attachment=" & strDateiName,,0)
So I wonder whether it is possible to send an email with attachment via basic and if so, whether anybody can supply a piece of example code?
Thanks and regards
P.S. The code should work on Win, Linux and Mac - as we have all three operating systems in our team.