The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: system ::

constants group SimpleMailClientFlags
Description
These constants are used to specify how the SimpleMailClient Service should behave.

Constants
DEFAULTS Uses the default settings when sending a mail, e.g. launches the current configured system mail client.  
NO_USER_INTERFACE Does not show the current configured system mail client, but sends the mail without any further user interaction. If this flag is specified, a recipient address must have been specified for the given XSimpleMailMessage object given to the method XSimpleMailClient::sendSimpleMailMessage().  
NO_LOGON_DIALOG No logon dialog should be displayed to prompt the user for logon information if necessary. When this flag is specified and the user needs to logon in order to send a simple mail message via the method XSimpleMailClient::sendSimpleMailMessage(), an Exception will be thrown.  
Constants' Details
DEFAULTS
const long DEFAULTS = 0;
Description
Uses the default settings when sending a mail, e.g. launches the current configured system mail client.
NO_USER_INTERFACE
const long NO_USER_INTERFACE = 1;
Description
Does not show the current configured system mail client, but sends the mail without any further user interaction. If this flag is specified, a recipient address must have been specified for the given XSimpleMailMessage object given to the method XSimpleMailClient::sendSimpleMailMessage().
NO_LOGON_DIALOG
const long NO_LOGON_DIALOG = 2;
Description
No logon dialog should be displayed to prompt the user for logon information if necessary. When this flag is specified and the user needs to logon in order to send a simple mail message via the method XSimpleMailClient::sendSimpleMailMessage(), an Exception will be thrown.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.