Platforms to show: All Mac Windows Linux Cross-Platform

Back to MimeHeaderMBS class.

MimeHeaderMBS.bcc as MimeAddressListMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The BCC address list.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
// get BCC
dim l as MimeAddressListMBS = h.BCC
// get addresses
dim a() as MimeAddressMBS = l.Addresses
// get first one
dim b as MimeAddressMBS = a(0)
// assume it's an email and get it
dim x as MimeMailboxMBS = b.Mailbox
// and show to user with name and email
MsgBox x.LabelDecoded+" "+x.Email

(Read only property)

MimeHeaderMBS.cc as MimeAddressListMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The CC address list.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
// get CC
dim l as MimeAddressListMBS = h.CC
// get addresses
dim a() as MimeAddressMBS = l.Addresses
// get first one
dim b as MimeAddressMBS = a(0)
// assume it's an email and get it
dim x as MimeMailboxMBS = b.Mailbox
// and show to user with name and email
MsgBox x.LabelDecoded+" "+x.Email

(Read only property)

MimeHeaderMBS.ContentDescription as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The content description.

(Read only property)

MimeHeaderMBS.ContentDisposition as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The content disposition.

(Read only property)

MimeHeaderMBS.contentId as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The content ID for an inline graphic.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
MsgBox h.contentId

(Read only property)

MimeHeaderMBS.ContentTransferEncoding as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The content transfer encoding.

e.g. base64
(Read only property)

MimeHeaderMBS.ContentTransferEncodingMechanism as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The content transfer encoding mechanism.

base64
(Read only property)

MimeHeaderMBS.ContentType as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The content type.

e.g. "multipart/alternative; boundary="Apple-Mail=_F9738882-571C-4469-8349-574115CE32F4""
(Read only property)

MimeHeaderMBS.from as MimeMailboxListMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The from address list.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
// get from
dim l as MimeMailboxListMBS = h.from
// get mailboxes
dim a() as MimeMailboxMBS = l.Mailboxes
// get first one
dim b as MimeMailboxMBS = a(0)
// and show to user with name and email
MsgBox b.LabelDecoded+" "+b.Email

(Read only property)

MimeHeaderMBS.messageid as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The message ID for this email.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
MsgBox h.messageid

e.g. "<599782DA-09A0-4461-8474-2BE9F3197CAF@macsw.de>"
(Read only property)

MimeHeaderMBS.MimeVersion as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The mime version.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
MsgBox h.MimeVersion

e.g. "1.0"
(Read only property)

MimeHeaderMBS.replyto as MimeAddressListMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The replyto address field.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
// get replyto
dim l as MimeAddressListMBS = h.replyto
// get addresses
dim a() as MimeAddressMBS = l.Addresses
// get first one
dim b as MimeAddressMBS = a(0)
// assume it's an email and get it
dim x as MimeMailboxMBS = b.Mailbox
// and show to user with name and email
MsgBox x.LabelDecoded+" "+x.Email

(Read only property)

MimeHeaderMBS.sender as MimeMailboxMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The sender of the email.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
dim b as MimeMailboxMBS = h.sender
MsgBox b.Email

May be different from "from" field.
(Read only property)

Some examples using this property:

MimeHeaderMBS.subject as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The original subject line.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
MsgBox h.subject

The subject property has the original subject line while the plugin provides the decoded subjected line in the subjectDecoded for display to user.
(Read only property)

MimeHeaderMBS.subjectDecoded as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The decoded subject line.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
MsgBox h.subjectDecoded

The subject property has the original subject line while the plugin provides the decoded subjected line in the subjectDecoded for display to user.
(Read only property)

MimeHeaderMBS.too as MimeAddressListMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property EmailParser MBS CURL Plugin 15.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The TO receivers.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.eml")
dim m as new MimeEmailMBS(f)

dim h as MimeHeaderMBS = m.Header
// get to
dim l as MimeAddressListMBS = h.too
// get addresses
dim a() as MimeAddressMBS = l.Addresses
// get first one
dim b as MimeAddressMBS = a(0)
// assume it's an email and get it
dim x as MimeMailboxMBS = b.Mailbox
// and show to user with name and email
MsgBox x.LabelDecoded+" "+x.Email

Named "too" in this class as "to" is a reserved word.
(Read only property)

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


The biggest plugin in space...