constants group SimpleMailClientFlags in module com::sun::star::system::

(Global Index)

Syntax

constants group SimpleMailClientFlags;

Description

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

Constants Summary

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.

Field Details



DEFAULTS

Syntax

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

Syntax

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

Syntax

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