MapiMessageMBS class

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

MapiMessageMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS Win Plugin 8.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The class for a message.
Example

dim m as new MapiMessageMBS
dim r as new MapiRecipientMBS
dim o as new MapiRecipientMBS

o.Address="SMTP:sender@example.com"
o.Name="Me"
o.Type=o.TypeOriginator

r.Address="SMTP:receiver@example.com"
r.Name="You"
r.Type=o.TypeTo

m.AddRecipient r
m.Originator=o
m.Subject="Test Email"
m.NoteText="Hello World"
m.Flags=0

dim SendFlags as integer = m.kSendFlagDialog + m.kSendFlagLogonDialog

title=str(m.SendMail(self, SendFlags, false))

Message Flags

Constant Value Description
kFlagsReceiptRequested 2 A receipt notification is requested. Client applications set this flag when sending a message.

Note: Most email applications ignore the receipt notifications.
kFlagsSent 4 The message has been sent.
kFlagsUnread 1 The message has not been read.

Send Flags

Constant Value Description
kSendFlagDialog 8 Display a send note UI
A dialog box should be displayed to prompt the user for recipients and other sending options. When Dialog is false, at least one recipient must be specified.
kSendFlagLogonDialog 1 Display logon UI. more
kSendFlagNewSession 2 Don't use shared session
Create a new session.

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS Win Plugin.


MapiFileMBS   -   MapiRecipientMBS


💬 Ask a question or report a problem