| AddEmailHeaders |
| |
Adds email MIME headers to an email |
| |
| Library |
 |
wh::internet/mime.whlib |
| |
| Syntax |
 |
PUBLIC RECORD FUNCTION AddEmailHeaders (RECORD origemail) |
| |
| Description |
 |
This function adds decoded Sender, Tos, ReplyTo, Bcc, Ccs, Subject, Date headers based on the original headers field in an email |
| |
| Parameters |
 |
| origemail |
 |
The record to which the headers are added |
 |
|
| |
| Returns |
 |
The updated email record with MIME decoded headers |
| |
The record contains the following cells:
| sender |
 |
The sender of the email |
 |
| tos |
 |
The adresses to which the email was sent |
 |
| ccs |
 |
The adresses that received a Carbon Copy |
 |
| bccs |
 |
The adresses that received a Blind Carbon Copy |
 |
| replyto |
 |
The adress to which should be replied |
 |
| subject |
 |
The subject of the message |
 |
| date |
 |
The date of the message |
 |
| inreplyto |
 |
The in reply to field |
 |
| contenttype |
 |
The content type of the email |
 |
|
| |