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 };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | Vcl.ExtActns |
Description
Enumerates the values of the send status for an e-mail message.
TMailSendStatus is an enumeration type that is used to store the result of sending the e-mail message. TMailSendStatus can have one of the following values:
| Value | Meaning |
|---|---|
|
mssSuccess |
The message was sent successfully. |
|
mssAmbiguousRecipient |
A recipient matched more than one of the recipient descriptor structures. |
|
mssAttachmentNotFound |
An attachment file was not found. |
|
mssAttachmentOpenFailure |
An attachment file could not be opened. |
|
mssBadRecipType |
The type of a recipient was not rtPrimary, rtCC, or rtBCC. |
|
mssFailure |
One or more unspecified errors occurred. |
|
mssInsufficientMemory |
Insufficient memory to proceed. |
|
mssInvalidRecips |
The addresses for one or more recipients were invalid. |
|
mssLoginFailure |
No default logon; the user failed to log on successfully in the logon dialog. |
|
mssTextTooLarge |
The message body was too large. |
|
mssTooManyFiles |
Too many files attached. |
|
mssTooManyRecipients |
Too many recipients. |
|
mssUnknownRecipient |
The recipient did not appear in the address list. |
|
mssUserAbort |
User canceled the dialog. |
|
mssStatusCodeError |
The status code is not a valid one. |