始める,決める 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.
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.
始める,決める 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.
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.
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.