SecureBlackbox 2020 macOS Edition

Questions / Feedback?

MailMessage Type

Represents an e-mail message.

Remarks

This object is a container for an e-mail message.

A message consists of a header and a body. The header, in turn, consists of several header fields. The names, syntax, and expected contents of the header fields are standardized.

The message body can contain anything you like (a message may not even have a body at all).

Fields

attachmentCount
Int32

Returns the number of attachments in this message.

bcc
String

The contents of the BCC header field.

The BCC header field contains the addresses of secondary recipients of the message whose addresses are not to be revealed to other recipients of the message. Mail servers remove the BCC header when processing the message and use its value for dispatching the message only.

cc
String

The value of the CC header field.

The CC field contains the addresses of secondary recipients of the message.

comments
String

Contains additional information about the message body.

date
String

The date and time when the message entered the mail delivery system.

This field contains the date and time at which the creator of the message posted the message to the mail delivery system.

The date is returned and accepted in UTC time zone.

deliveryReceipt
Bool

Enables delivery notification.

from
String

Contains the value of the From header field.

This field contains the address(es) of the message author(s). If the actual sender is not the author of the message, use Sender to specify the sender separately.

htmlText
String

The HTML version of the message.

id
String

The contents of the Message-ID header field.

This field contains a unique identifier that refers to a particular version of this message.

inReplyTo
String

The value of the In-Reply-To header field.

A reply message should have the "In-Reply-To:" header field which may be used to identify the message (or messages) to which the new message is a reply.

keywords
String

The value of the Keywords header field.

This field can be used to add some important words and phrases that might be useful for the recipient.

mailer
String

The name of the software that was used to send the message.

plainText
String

The plain text version of the message.

priority
MailPriorities

Specifies the message priority.

Available options:

mpLowest0
mpLow1
mpNormal2
mpHigh3
mpHighest4

readReceipt
Bool

Enables a read notification.

references
String

The value of the References header field.

A reply message should include a "References:" header field which may be used to identify the "conversation thread". If the initial message is a reply itself, the References of the reply contain combined content of its "References:", "InReplyTo:" and "MessageID:" fields, subject to their presence in the original message.

replyTo
String

The value of the Reply-To header field.

This field contains the addresses to which the replies to this message should be sent. This field is optional. If not specified, the replies must be sent to the addresses specified in the From field.

returnPath
String

The value of the Return-Path header field.

This field contains the address to which this message shall be returned in case of unsuccessful delivery.

sender
String

The value of the Sender header field.

This field specifies the mailbox of the agent responsible for the actual transmission of this message. If the originator of the message can be indicated by a single mailbox and both the author and the transmitter are identical, the "Sender:" field is deemed excessive and should not be used.

sendTo
String

The value of the To header field.

This field specifies the address(es) of the primary recipient(s) of the message.

subject
String

Contains the subject field of this message.

Constructors

public init()

Creates a new empty mail message object.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 macOS Edition - Version 20.0 [Build 8165]