| CreateMIMEMailingTopPart |
| |
Create a top part for a MIME mailing |
| |
| Library |
 |
wh::internet/mime.whlib |
| |
| Syntax |
 |
PUBLIC RECORD FUNCTION CreateMIMEMailingTopPart (BLOB plainmail,BLOB htmlmail,RECORD ARRAY mail_images) |
| |
| Parameters |
 |
| plainmail |
 |
Plain/text part |
 |
| htmlmail |
 |
HTML part |
 |
| mail_images |
 |
Embedded objects |
| |
The record contains the following cells:
| filename |
 |
Original filename |
 |
| contentid |
 |
Content id (without the 'cid:' namespace prefix) |
 |
| contenttype |
 |
Content type |
 |
| data |
 |
Object data |
 |
|
 |
|
| |
| Returns |
 |
A top-level MIME part for an embedded mailing. Ids 2 up to 6+length(embedded) will be used as the IDs in the toppart record and its contained objects |
| |