|
Syntax
- com::sun::star::system::XSimpleMailMessage createSimpleMailMessage
();
Description
Create a simple mail message object that implements the interface
XSimpleMailMessage .
Returns
-
An object that implements the XSimpleMailMessage interface.
Syntax
- void sendSimpleMailMessage
(
- com::sun::star::system::XSimpleMailMessage xSimpleMailMessage,
- long aFlag )
- raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::uno::Exception );
Description
Sends a given simple mail message object that implements the interface
XSimpleMailMessage .
Parameter xSimpleMailMessage
-
Specifies a configured mail object to be sent.
Parameter aFlag
-
Specifies different flags that control the send process
if the flag NO_USER_INTERFACE is specified. A recipient
address must have been specified for the given xMailMessage object.
Throws
- com::sun::star::lang::IllegalArgumentException
- If invalid or excluding flags have been specified.
- The flag NO_USER_INTERFACE is specified and no recipient
address has been specified for the given xSimpleMailMessage object.
- The parameter xSimpleMailMessage is NULL.
Throws
- com::sun::star::uno::Exception
if an error occurs while sending the mail.
The Message member of the exception may contain an error description.
See also
- XSimpleMailMessage
-
See also
- SimpleMailClientFlags
-
|