Apache OpenOffice (AOO) Bugzilla – Issue 99061
SimpleCommandMail does not work on Mac OSX
Last modified: 2013-02-24 21:08:42 UTC
I have written the following program: *************************************** Select CASE getGUIType() Case 1 oMailer = createUnoService( "com.sun.star.system.SimpleSystemMail" ) Case 3 oMailer = createUnoService( "com.sun.star.system.SimpleCommandMail" ) End Select MailProgramm = oMailer.querySimpleMailClient() NeueNachricht = MailProgramm.createSimpleMailMessage() NeueNachricht.setRecipient(sRecipient) NeueNachricht.setSubject( sSubject ) If Len(sRepVor)>0 Then attachs(0)= sRepVor NeueNachricht.setAttachement(attachs()) End if Mailprogramm.sendSimpleMailMessage(Neuenachricht, 0 ) ******************************************************** The program runs through, the Mail client pops up, but nothing else happens. Mail Client tested is "Mail" of OSX.
jsc -> cd: i think it's yours now, please correct if i am wrong