Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: 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

Copyright © 2003 Sun Microsystems, Inc.