Begin the message header of a message which is being enqueued.
argument informationstatus = PMDF_start_message_header (nq_context)
| Argument | Data type | Access | Mechanism |
|---|---|---|---|
| nq_context | context pointer | read/write | reference |
argument informationstatus = PMDFstartMessageHeader (nq_context)
int PMDFstartMessageHeader (nq_context)
PMDF_nq **nq_context;
nq_context
A message enqueue context created with PMDF_start_message_envelope.
After the message envelope has been constructed by calls to PMDF_add_recipient, the construction of the message header is started with a call to PMDF_start_message_header. Header lines may be written with PMDF_write_header, PMDF_write_line, PMDF_write_text, PMDF_write_from, PMDF_write_date, and PMDF_write_subject. The only mandatory header lines which must be written are the From: and Date: header lines. PMDF will supply all other required header lines.Return Values
| PMDF__OK | Normal, successful completion. |
| PMDF__BADCONTEXT | Illegal or corrupt context. Message header not started. |