This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
MAIL New attachment
|
MAIL New attachment ( value {; name {; cid {; type {; disposition}}}} ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
value | Text, BLOB, Object |
![]() |
Object (4D.File, 4D.ZipFile, 4D.Blob), or Path of the attachment file (text), or Blob containing the attachment (BLOB) |
|||||
name | Text |
![]() |
Name + extension used by the mail client to designate the attachment | |||||
cid | Text |
![]() |
ID of attachment (HTML messages only), or " " if no cid is required | |||||
type | Text |
![]() |
Value of the content-type header | |||||
disposition | Text |
![]() |
Value of the content-disposition header: "inline" or "attachment". | |||||
Function result | Object |
![]() |
Attachment object | |||||
Documentation moved
The documentation for this command has been moved. Visit developer.4d.com for updated documentation.
The MAIL New attachment command allows you to create an attachment object that you can add to an Email object (see transporter.send( ))
Product: 4D
Theme: Mail
Number:
1644
Created: 4D v17 R4
4D Language Reference ( 4D v20 R7)