:: com :: sun :: star :: mail ::

unpublished interface XSmtpService
Base Interfaces
XSmtpServiceXMailService

XMailService
(referenced interface's summary:)
Represents a mail server abstraction.
Description
Represents a SMTP service abstraction.

Methods' Summary
sendMailMessage Send a mail message to its recipients.  
Methods' Details
sendMailMessage
void
sendMailMessage( [in] XMailMessage  xMailMessage )
raises( ::com::sun::star::io::NotConnectedException,
SendMailMessageFailedException,
MailException,
::com::sun::star::datatransfer::UnsupportedFlavorException );

Description
Send a mail message to its recipients.
Parameter xMailMessage
[in] the mail message to be sent.
Throws
com::sun::star::io::NotConnectedException if no user is currently connected to the mail server.
Throws
com::sun::star::mail::SendMailMessageFailedException if the message could not be sent because of invalid recipient addresses. The e-mail addresses of recipients have to conform to RFC 822.
Throws
com::sun::star::mail::MailException is thrown on other errors that may happen during sending. A possible reason may be for instance that a file attachment specified in a mail message could not be found or accessed.
Throws
com::sun::star::datatransfer::UnsupportedFlavorException is thrown when the body of the mail message is provided in an unsupported mime content type or may be thrown if one of the file attachments specifies an unspupported mime content type.
Top of Page