LibreOffice: com::sun::star::system::SimpleMailClientFlags Constant Group Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
com::sun::star::system::SimpleMailClientFlags Constant Group Referencepublished

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

## Variables
const long | DEFAULTS = 0
| Uses the default settings when sending a mail, e.g.
const long | NO_USER_INTERFACE = 1
| Does not show the current configured system mail client, but sends the mail without any further user interaction.
const long | NO_LOGON_DIALOG = 2
| No logon dialog should be displayed to prompt the user for logon information if necessary.

## Detailed Description

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

## Variable Documentation

## ◆ DEFAULTS

const long DEFAULTS = 0

Uses the default settings when sending a mail, e.g.

launches the current configured system mail client.

## ◆ NO_LOGON_DIALOG

const long NO_LOGON_DIALOG = 2

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 com::sun::star::system::XSimpleMailClient::sendSimpleMailMessage(), an Exception will be thrown.

## ◆ NO_USER_INTERFACE

const long NO_USER_INTERFACE = 1

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 com::sun::star::system::XSimpleMailClient::sendSimpleMailMessage().