:: com :: sun :: star :: mail ::
|
unpublished |
interface XSmtpService |
|
|
- Base Interfaces
XSmtpService
┗ XMailService
XMailService |
- (referenced interface's summary:)
- Represents a mail server abstraction.
|
|
- Usage Restrictions
- not published
- Description
- Represents a SMTP service abstraction.
- Since
- OOo 2.0
- See also
- XMailService, XMailMessage
|
Methods' Details |
sendMailMessage
- 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.
- See also
- XMailMessage, ::com::sun::star::io::NotConnectedException, SendMailMessageFailedException, MailException, ::com::sun::star::datatransfer::UnsupportedFlavorException
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.