Previous | Contents | Index |
Begin the message header of a message which is being enqueued.
status = PMDF_start_message_header (nq_context)
Argument Data type Access Mechanism nq_context context pointer read/write reference
status = PMDFstartMessageHeader (nq_context)
int PMDFstartMessageHeader(PMDF_nq **nq_context)
nq_context
A message enqueue context created withPMDFstartMessageEnvelope
.
After the message envelope has been constructed by calls toPMDFaddRecipient
, the construction of the message header is started with a call toPMDFstartMessageHeader
. Header lines can be written withPMDFwriteHeader
,PMDFwriteLine
,PMDFwriteText
,PMDFwriteFrom
,PMDFwriteDate
, andPMDFwriteSubject
. The only mandatory header lines which must be written are the "From:" and "Date:" header lines. PMDF will supply all other required header lines.
PMDF__OK Normal, successful completion. PMDF__BADCONTEXT Illegal or corrupt context. Message header not started.
Previous | Next | Contents | Index |