- Description
- Sends a given simple mail message object that implements the interface
::com::sun::star::system::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
- ::com::sun::star::system::XSimpleMailMessage, ::com::sun::star::system::SimpleMailClientFlags
|