PEC message received structure

<< Fare clic per visualizzazione il sommario >>

Percorso:  I servizi di Jamio openwork > PEC Manager Service > Strutture dati >

PEC message received structure

A PEC message received is represented by a Dataset containing the following fields.

 

Parameters

Name

Description

Type

Optional

Id

Id (internal Jamio) of the message; it is used to referencing the message within processes, for example in a service task that get specified PEC message whit GetMail method invocation.

String

 

UniqueId

Id of the PEC message provided by the IMAP server; it is used to locate the message in the PEC mailbox, for example in the DeleteMailPEC method.

String

 

MessageType

Type of PEC message. See below table for details of type of PEC message value.

Int32

 

From

PEC mailbox address of the sender (in the form casella@dominio)

String

 

To

List of the mailbox addresses of the recipients of the message; every element of the list is a dataset with the following keys:

• Address: PEC mailbox address (in the form casella@dominio). Type: String;

• DisplayName: display name. Type: String.

List of Dataset

 

CC

List of the mailbox addresses of the CC recipients of the message; every element of the list is a dataset with the following keys:

• Address: PEC mailbox address (in the form casella@dominio). Type: String;

• DisplayName: display name.Type: String.

List of Dataset

 

Date

Date and time of sending the message specified by the sender.

DateTime

 

CertifiedDate

Date and time of sending the message certified by provider.

DateTime

 

Subject

Object of message.

String

 

HasBodyText

true if the message has text content, false otherwise

Boolean

 

BodyText

Message content in text format; if available.

String

 

HasBodyHtml

true if the message has HTML content, false otherwise

Boolean

 

BodyHtml

Message content in HTML format; if available.

String

 

Priority

Message priority. See below table for details of priority value.

Int32

 

MessageId

Id (from SMTP standard) of the message

String

 

Headers

Headers of the message

List of Dataset of String

 

Attachments

Files attached to the message; every element of the list is a dataset with the following fields:

• FileName: file name (in the form attachment1.pdf). Type: String;

• URL: address to be used to retrieve the file with GetMailAttachment method. Type: String.

List of Dataset

 

ReceiptType

Type of PEC server receipt.

 

N.B. the property is valued only if MessageType = 1 (PEC server receipt)

String

 

OriginalMessageId

Identifier of the original message.

 

N.B. the property is valued only if MessageType = 1 (PEC server receipt)

String

 

OriginalResourceUrl

Url of the resource to which the original message is linked.

 

N.B. the property is valued only in the case where MessageType = 1 (PEC server receipt) and the url has been specified in the sending

String

 

ProtocolNumber

Protocol number in case of receipt of interoperability.

 

N.B. the property is valued only in the case where MessageType = 3 (receipt of protocol interoperability)

String

 

 

 

Message priority

Value

Priority

-1

Low

0

Normal

1

High

 

 

Type of received message

Value

Types

0

New message

1

PEC server receipt

2

PEC anomaly

3

Protocol Interoperability Receipt throw PEC

 

 

 

Download PEC message received data structure.