mpHigh
mpHigh = 1
Example
procedure ConfigureImportantMessage(Message: TIdMessage);
begin
Message.Priority := mpHigh;
end;
Usage
mpHigh selects Velox's high mail-priority hint, generating urgent/high text headers and numeric X-Priority 2.
Additional Technical Info
mpHigh is the second-highest TIdMessagePriority member. During normal header generation Indy emits:
| Header | Value |
|---|---|
Priority | urgent |
X-Priority | 2 |
Importance | high |
The example changes the direct enum property; headers are generated later when the message is sent or saved. It is source-reviewed and is not executed by the documentation workflow.
Behavior and boundaries
mpHighdiffers frommpHighestonly in numericX-Priority(2versus1).- The headers are advisory display/classification hints. They do not raise Velox queue priority, accelerate SMTP, change retry policy or guarantee recipient behavior.
- It is independent of IMAP
mfFlagged, which is mailbox state rather than a message header. - Raw generated priority headers are overwritten during generation. Later
ExtraHeaderscan add duplicates or contradictions, so use one mechanism.
Input and round trips
Indy preserves mpHigh only when the first recognized priority header supplies numeric token 2, normally X-Priority. Text containing urgent or high maps to mpHighest. If an intermediary removes X-Priority but leaves Priority: urgent or Importance: high, loading then saving the message can change the generated number from 2 to 1.
Errors, performance and concurrency
Enum assignment is constant-time and does not raise. Header generation can fail for unrelated encoding/I/O reasons after updating generated headers. Do not mutate or generate one message concurrently.
Related entries
mpHighestemits numeric level 1.mpNormalremoves generated priority headers.TIdMessage.Prioritydocuments parsing precedence.
External references
Created 2026-07-15