このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XMailServer
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: mail ::

unpublished interface XMailServer
Usage 制限s
not published
Description
代表するs a mail server abstraction.
Since
OOo 2.0
See also
XMailMessage

Methods' 要約
getSupportedConnectionTypes Returns all 関係 types which are supported by the mail server. Possible 関係 types are for instance 安全な・保証する 関係s like 'SSL' or 'TLS'.  
setConnectionType 始める,決める the 関係 type that will be used to connect to the mail server. The supported 関係 types may be queried using getSupportedConnectionTypes(). If no 関係 types has explicitly been 始める,決める the default 関係 type will be used.  
isConnectionTypeSupported 許す a (弁護士の)依頼人 to query if a 確かな 関係 type is supported.  
addConnectionListener 登録(する) a 関係 listener.  
removeConnectionListener Unregister a 関係 listener.  
connectUser Login a 使用者 to the mail server. Only one 使用者 may logged in at a time. An 試みる/企てる to login while another 使用者 is logged in 原因(となる)s an exception to be thrown.  
disconnectUser Logoff the 現在/一般に logged in 使用者.  
isUserConnected Returns whether a 使用者 is 現在/一般に logged in to the mail server or not.  
sendMailMessage Send a mail message to its 受取人s.  
せいにするs' 要約
指名する The 完全にする domain 指名する of the mail server.  
Port The port number that will be used to connect to the mail server. If no port number has been 始める,決める the default port number 25 will be used.  
Methods' 詳細(に述べる)s
getSupportedConnectionTypes
sequence< string >
getSupportedConnectionTypes();

Description
Returns all 関係 types which are supported by the mail server. Possible 関係 types are for instance 安全な・保証する 関係s like 'SSL' or 'TLS'.
Returns
a sequence of supported 関係 types.
setConnectionType
無効の
setConnectionType( [in] string  sConnectionType )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
始める,決める the 関係 type that will be used to connect to the mail server. The supported 関係 types may be queried using getSupportedConnectionTypes(). If no 関係 types has explicitly been 始める,決める the default 関係 type will be used.
Parameter sConnectionType
[in] identifies the 関係 that should be used to connect to the mail server.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the 供給するd 関係 type is not supported.
See also
getSupportedConnectionTypes, isConnectionTypeSupported
isConnectionTypeSupported
boolean
isConnectionTypeSupported( [in] string  sConnectionType );

Description
許す a (弁護士の)依頼人 to query if a 確かな 関係 type is supported.
Parameter sConnectionType
[in] query if a 確かな 関係 type is supported.
Returns
true if the 明示するd 関係 type is supported.
addConnectionListener
無効の
addConnectionListener( [in] XConnectionListener  xListener );

Description
登録(する) a 関係 listener.
Parameter xListener
[in] a listener that will be 知らせるd about 関係 events.
See also
XConnectionListener
removeConnectionListener
無効の
removeConnectionListener( [in] XConnectionListener  xListener );

Description
Unregister a 関係 listener.
Parameter xListener
[in] a listener that no longer need to be 知らせるd about 関係 events.
See also
XConnectionListener
connectUser
無効の
connectUser( [in] XAuthenticator  xAuthenticator )
raises( ::com::sun::星/主役にする::io::AlreadyConnectedException,
::com::sun::星/主役にする::io::UnknownHostException,
::com::sun::星/主役にする::io::NoRouteToHostException,
::com::sun::星/主役にする::io::ConnectException,
::com::sun::星/主役にする::auth::AuthenticationFailedException,
MailException );

Description
Login a 使用者 to the mail server. Only one 使用者 may logged in at a time. An 試みる/企てる to login while another 使用者 is logged in 原因(となる)s an exception to be thrown.
Parameter xAuthenticator
[in] an interface used to query for the necessary 使用者 (警察などへの)密告,告訴(状) needed to login to the mail server.
Throws
com::sun::星/主役にする::io::AlreadyConnectedException on a try to connect to an already connect mail server.
Throws
com::sun::星/主役にする::io::UnknownHostException usually if the IP 演説(する)/住所 of the mail server could not be 決定するd. Possible 原因(となる)s are a broken 網状組織 関係, a wrong server 指名する, an unreachable DNS server, etc.
Throws
com::sun::星/主役にする::io::NoRouteToHostException if an error occured to connect to the remote mail server. Typically the remote mail server cannot be reach because of an 介入するing firewall, or if an 中間の router is 負かす/撃墜する, the 網状組織 関係 is broken, etc.
Throws
com::sun::星/主役にする::io::ConnectException if an error occured while 試みる/企てるing to connect to the remote mail server. Typically the 関係 was 辞退するd remotely, because the mail server is not listening on the remote 演説(する)/住所/port.
Throws
com::sun::星/主役にする::auth::AuthenticationException if the 明示するd 使用者 could not be logged in.
Throws
com::sun::星/主役にする::mail::IllegalStateException if a 使用者 is 現在/一般に logged in.
Throws
com::sun::星/主役にする::mail::MailException for other errors during login.
See also
XAuthenticator, ::com::sun::星/主役にする::io::AlreadyConnectedException, ::com::sun::星/主役にする::io::UnknownHostException, ::com::sun::星/主役にする::io::NoRouteToHostException, ::com::sun::星/主役にする::io::ConnectException, com::sun::星/主役にする::auth::AuthenticationException, com::sun::星/主役にする::mail::IllegalStateException, MailException
disconnectUser
無効の
disconnectUser()
raises( MailException );

Description
Logoff the 現在/一般に logged in 使用者.
Throws
com::sun::星/主役にする::mail::MessagingException if errors occur during logoff.
isUserConnected
boolean
isUserConnected();

Description
Returns whether a 使用者 is 現在/一般に logged in to the mail server or not.
Returns
true if a 使用者 is 現在/一般に logged in to the mail server.
sendMailMessage
無効の
sendMailMessage( [in] XMailMessage  xMailMessage )
raises( ::com::sun::星/主役にする::io::NotConnectedException,
SendMailMessageFailedException,
MailException,
::com::sun::星/主役にする::datatransfer::UnsupportedFlavorException );

Description
Send a mail message to its 受取人s.
Throws
com::sun::星/主役にする::io::NotConnectedException if no 使用者 is 現在/一般に connected to the mail server.
Throws
com::sun::星/主役にする::mail::SendMailMessageFailedException if the message could not be sent because of 無効の 受取人 演説(する)/住所s. The e-mail 演説(する)/住所s of 受取人s have to 適合する to RFC 822.
Throws
com::sun::星/主役にする::mail::MailException is thrown on other errors that may happen during sending. A possible 推論する/理由 may be for instance that a とじ込み/提出する attachment 明示するd in a mail message could not be 設立する or 接近d.
Throws
com::sun::星/主役にする::datatransfer::UnsupportedFlavorException is thrown when the 団体/死体 of the mail message is 供給するd in an unsupported mime content type or may be thrown if one of the とじ込み/提出する attachments 明示するs an unspupported mime content type.
See also
com::sun::星/主役にする::io::NotConnectedExceptionException, SendMailMessageFailedException, MailException, ::com::sun::星/主役にする::datatransfer::UnsupportedFlavorException
せいにするs' 詳細(に述べる)s
指名する
[ readonly ] string 指名する;
Description
The 完全にする domain 指名する of the mail server.
Port
long Port;
Description
The port number that will be used to connect to the mail server. If no port number has been 始める,決める the default port number 25 will be used.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.