AddEmailHeaders (open)
Adds email MIME headers to an email
Syntax
LOADLIB "wh::internet/mime.whlib";
RECORD FUNCTION AddEmailHeaders(RECORD origemail)Parameters
RECORD origemailThe record to which the headers are added
Return value
RECORDThe updated email record with MIME decoded headers
bccsThe adresses that received a Blind Carbon Copy
ccsThe adresses that received a Carbon Copy
contenttypeThe content type of the email
dateThe date of the message
inreplytoThe in reply to field
replytoThe adress to which should be replied
senderThe sender of the email
subjectThe subject of the message
tosThe 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