MAIL New attachment
MAIL New attachment ( value {; name {; cid {; type {; disposition}}}} ) -> Résultat
Paramètre | Type | Description | |
---|---|---|---|
value | Texte, BLOB, Objet | 🡒 | Object (4D.File, 4D.ZipFile, 4D.Blob), orPath of the attachment file (text), orBlob containing the attachment (BLOB) |
name | Texte | 🡒 | Name + extension used by the mail client to designate the attachment |
cid | Texte | 🡒 | ID of attachment (HTML messages only), or " " if no cid is required |
type | Texte | 🡒 | Value of the content-type header |
disposition | Texte | 🡒 | Value of the content-disposition header: "inline" or "attachment". |
Résultat | Objet | 🡐 | Attachment object |
Description
Documentation déplacée
La documentation de cette commande a été déplacée. Consultez developer.4d.com pour obtenir une documentation à jour.
La commande MAIL New attachment permet de créer un objet pièce jointe que vous pouvez ajouter à un objet Email (voir transporteur.send( ))