Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to MapiMessageMBS class.
MapiMessageMBS.AddFile(file as MapiFileMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 8.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
file must be not nil.
MapiMessageMBS.AddRecipient(recipient as MapiRecipientMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 8.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
recipient must be nil.
MapiMessageMBS.SendMail(parent as DesktopWindow, SendFlags as Integer, Threaded as Boolean) as integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 22.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Parameters:
parent:
The parent window for the dialogs used. If not nil the dialogs used will be modal.
SendFlags: Send flags. Default in older plugin versions was kSendFlagDialog when DisplayDialog parameter is true and kSendFlagLogonDialog if DisplayLogonDialog parameter was true.
Error codes:
const SUCCESS_SUCCESS = 0 | No error. |
const MAPI_USER_ABORT = 1 | The user canceled one of the dialog boxes. No message was sent. |
const MAPI_E_FAILURE = 2 | One or more unspecified errors occurred. No message was sent. |
const MAPI_E_LOGON_FAILURE = 3 | There was no default logon, and the user failed to log on successfully when the logon dialog box was displayed. No message was sent. |
const MAPI_E_DISK_FULL = 4 | |
const MAPI_E_INSUFFICIENT_MEMORY = 5 | There was insufficient memory to proceed. No message was sent. |
const MAPI_E_ACCESS_DENIED = 6 | |
const MAPI_E_TOO_MANY_SESSIONS = 8 | |
const MAPI_E_TOO_MANY_FILES = 9 | There were too many file attachments. No message was sent. |
const MAPI_E_TOO_MANY_RECIPIENTS = 10 | There were too many recipients. No message was sent. |
const MAPI_E_ATTACHMENT_NOT_FOUND = 11 | The specified attachment was not found. No message was sent. |
const MAPI_E_ATTACHMENT_OPEN_FAILURE = 12 | The specified attachment could not be opened. No message was sent. |
const MAPI_E_ATTACHMENT_WRITE_FAILURE = 13 | |
const MAPI_E_UNKNOWN_RECIPIENT = 14 | |
const MAPI_E_BAD_RECIPTYPE = 15 | The type of a recipient was not TypeTO, TypeCC, or TypeBCC. No message was sent. |
const MAPI_E_NO_MESSAGES = 16 | |
const MAPI_E_INVALID_MESSAGE = 17 | |
const MAPI_E_TEXT_TOO_LARGE = 18 | The text in the message was too large. No message was sent. |
const MAPI_E_INVALID_SESSION = 19 | |
const MAPI_E_TYPE_NOT_SUPPORTED = 20 | |
const MAPI_E_AMBIGUOUS_RECIPIENT = 21 | A recipient matched more than one of the recipient descriptor structures and Dialog is false. No message was sent. |
const MAPI_E_MESSAGE_IN_USE = 22 | |
const MAPI_E_NETWORK_FAILURE = 23 | |
const MAPI_E_INVALID_EDITFIELDS = 24 | |
const MAPI_E_INVALID_RECIPS = 25 | One or more recipients were invalid or did not resolve to any address. |
const MAPI_E_NOT_SUPPORTED = 26 |
Information | Action |
entry identifier | No name resolution; the name and address are ignored. |
name | Name resolved using the Simple MAPI resolution rules. |
address | No name resolution; address is used for both message delivery and for displaying the recipient name. |
name and address | No name resolution; name used only for displaying the recipient name. |
See also:
MapiMessageMBS.SendMail(parent as window, SendFlags as Integer, Threaded as Boolean) as integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 18.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Parameters:
parent:
The parent window for the dialogs used. If not nil the dialogs used will be modal.
SendFlags: Send flags. Default in older plugin versions was kSendFlagDialog when DisplayDialog parameter is true and kSendFlagLogonDialog if DisplayLogonDialog parameter was true.
Error codes:
const SUCCESS_SUCCESS = 0 | No error. |
const MAPI_USER_ABORT = 1 | The user canceled one of the dialog boxes. No message was sent. |
const MAPI_E_FAILURE = 2 | One or more unspecified errors occurred. No message was sent. |
const MAPI_E_LOGON_FAILURE = 3 | There was no default logon, and the user failed to log on successfully when the logon dialog box was displayed. No message was sent. |
const MAPI_E_DISK_FULL = 4 | |
const MAPI_E_INSUFFICIENT_MEMORY = 5 | There was insufficient memory to proceed. No message was sent. |
const MAPI_E_ACCESS_DENIED = 6 | |
const MAPI_E_TOO_MANY_SESSIONS = 8 | |
const MAPI_E_TOO_MANY_FILES = 9 | There were too many file attachments. No message was sent. |
const MAPI_E_TOO_MANY_RECIPIENTS = 10 | There were too many recipients. No message was sent. |
const MAPI_E_ATTACHMENT_NOT_FOUND = 11 | The specified attachment was not found. No message was sent. |
const MAPI_E_ATTACHMENT_OPEN_FAILURE = 12 | The specified attachment could not be opened. No message was sent. |
const MAPI_E_ATTACHMENT_WRITE_FAILURE = 13 | |
const MAPI_E_UNKNOWN_RECIPIENT = 14 | |
const MAPI_E_BAD_RECIPTYPE = 15 | The type of a recipient was not TypeTO, TypeCC, or TypeBCC. No message was sent. |
const MAPI_E_NO_MESSAGES = 16 | |
const MAPI_E_INVALID_MESSAGE = 17 | |
const MAPI_E_TEXT_TOO_LARGE = 18 | The text in the message was too large. No message was sent. |
const MAPI_E_INVALID_SESSION = 19 | |
const MAPI_E_TYPE_NOT_SUPPORTED = 20 | |
const MAPI_E_AMBIGUOUS_RECIPIENT = 21 | A recipient matched more than one of the recipient descriptor structures and Dialog is false. No message was sent. |
const MAPI_E_MESSAGE_IN_USE = 22 | |
const MAPI_E_NETWORK_FAILURE = 23 | |
const MAPI_E_INVALID_EDITFIELDS = 24 | |
const MAPI_E_INVALID_RECIPS = 25 | One or more recipients were invalid or did not resolve to any address. |
const MAPI_E_NOT_SUPPORTED = 26 |
Information | Action |
entry identifier | No name resolution; the name and address are ignored. |
name | Name resolved using the Simple MAPI resolution rules. |
address | No name resolution; address is used for both message delivery and for displaying the recipient name. |
name and address | No name resolution; name used only for displaying the recipient name. |
See also:
MapiMessageMBS.SendMail(SendFlags as Integer, Threaded as Boolean) as integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 18.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This method is without parent window for dialogs, so you can use it in a console project.
See also:
The items on this page are in the following plugins: MBS Win Plugin.