Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: system ::
interface XSimpleMailClient
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XSimpleMailClient
Description Specifies an interface for creating and sending email messages.

Methods' Summary
createSimpleMailMessage | Create a simple mail message object that implements the interface XSimpleMailMessage .
sendSimpleMailMessage | Sends a given simple mail message object that implements the interface XSimpleMailMessage .

Methods' Details
createSimpleMailMessage
XSimpleMailMessage createSimpleMailMessage(); |  |
Description Create a simple mail message object that implements the interface XSimpleMailMessage . Returns An object that implements the XSimpleMailMessage interface.
sendSimpleMailMessage
void sendSimpleMailMessage( | [in] XSimpleMailMessage [in] long raises( | xSimpleMailMessage, aFlag ) ::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

Top of Page

Copyright © 2003 Sun Microsystems, Inc.