AddEmailHeaders (open)

Adds email MIME headers to an email

Syntax

LOADLIB "wh::internet/mime.whlib";

RECORD FUNCTION AddEmailHeaders(RECORD origemail)

Parameters

RECORD origemail

The record to which the headers are added

Return value

RECORD

The updated email record with MIME decoded headers

bccs

The adresses that received a Blind Carbon Copy

ccs

The adresses that received a Carbon Copy

contenttype

The content type of the email

date

The date of the message

inreplyto

The in reply to field

replyto

The adress to which should be replied

sender

The sender of the email

subject

The subject of the message

tos

The adresses to which the email was sent

Description

This function adds decoded Sender, Tos, ReplyTo, Bcc, Ccs, Subject, Date headers based on the original headers field in an email