Vcl.ExtActns.TMailSendStatus
Delphi
TMailSendStatus = (
mssSuccess, // the message was sent
mssAmbiguousRecipient, // a recipient matched more than one of the recipient descriptor structures
mssAttachmentNotFound, // attachment was not found
mssAttachmentOpenFailure, // attachment could not be opened
mssBadRecipType, // type of a recipient was not rtPrimary, rtCC, rtBCC
mssFailure, // one or more unspecified errors occurred
mssInsufficientMemory, // insufficient memory to proceed
mssInvalidRecips, // one or more recipients were invalid or did not resolve to any address
mssLoginFailure, // no default logon; the user failed to log on successfully in the logon dialog
C++
enum DECLSPEC_DENUM TMailSendStatus : unsigned char { mssSuccess, mssAmbiguousRecipient, mssAttachmentNotFound, mssAttachmentOpenFailure, mssBadRecipType, mssFailure, mssInsufficientMemory, mssInvalidRecips, mssLoginFailure, mssTextTooLarge, mssTooManyFiles, mssTooManyRecipients, mssUnknownRecipient, mssUserAbort, mssStatusCodeError };
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
enum | public | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | Vcl.ExtActns |
説明
電子メール メッセージの送信ステータスの値を列挙したものです。
TMailSendStatus は、電子メール メッセージの送信結果を格納するのに使用される列挙型です。 TMailSendStatus が取り得る値は以下のいずれかです。
値 | 意味 |
---|---|
mssSuccess |
メッセージが正常に送信されました。 |
mssAmbiguousRecipient |
受信者が複数の受信者記述子構造体と一致しました。 |
mssAttachmentNotFound |
添付ファイルが見つかりませんでした。 |
mssAttachmentOpenFailure |
添付ファイルを開けませんでした。 |
mssBadRecipType |
受信者の種類が rtPrimary、rtCC、rtBCC のいずれでもありませんでした。 |
mssFailure |
指定されていないエラーが 1 つ以上発生しました。 |
mssInsufficientMemory |
続行するためのメモリが足りません。 |
mssInvalidRecips |
1 人以上の受信者のアドレスが無効でした。 |
mssLoginFailure |
デフォルト ログインがありません。ユーザーがログイン ダイアログで正常にログインできませんでした。 |
mssTextTooLarge |
メッセージ本体が大きすぎます。 |
mssTooManyFiles |
添付されているファイルが多すぎます。 |
mssTooManyRecipients |
受信者が多すぎます。 |
mssUnknownRecipient |
当該受信者がアドレス リストに現れませんでした。 |
mssUserAbort |
ユーザーがダイアログをキャンセルしました。 |
mssStatusCodeError |
ステータス コードが無効です。 |