https://bz.apache.org/ooo/show_bug.cgi?id=111298
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from [email protected] --- SimpleCommandMail and SimpleSystemMail were both deleted in 2013, and do not exist any longer even in AOO 4.1.X: ---snip--- commit ae77b8ca51259f12d779952d8788b8452d558527 Author: Ariel Constenla-Haile <[email protected]> Date: Fri Jan 4 19:57:08 2013 +0000 i121579 - Clean-up system mail API git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1429067 13f79535-47bb-0310-9956-ffa450edef68 ---snip--- Therefore Carol_FAGES, your macro which does: ---snip--- if os_system = "LINUX" then eMailer = createUnoService("com.sun.star.system.SimpleCommandMail") else eMailer = createUnoService("com.sun.star.system.SimpleSystemMail") endif ---snip--- will always fail on all operating systems, because neither exist any more. What should you use now instead? The comment 4 sample message uses the more complex way of sending mails using a SMTP service, without the need of a mail client on the system and with no user interaction, use the ::com::sun::star::mail::MailServiceProvider. The simpler way to send emails using a local client, without the need to configure an SMTP server connection, is to use ::com::sun::star::system::SystemMailProvider. I will post some sample code here in a minute. -- You are receiving this mail because: You are on the CC list for the issue. You are the assignee for the issue.
