Aller au contenu principal
Version: Next

MAIL New attachment

MAIL New attachment ( value {; name {; cid {; type {; disposition}}}} ) -> Résultat

ParamètreTypeDescription
valueTexte, BLOB, Objet🡒Object (4D.File, 4D.ZipFile, 4D.Blob), orPath of the attachment file (text), orBlob containing the attachment (BLOB)
nameTexte🡒Name + extension used by the mail client to designate the attachment
cidTexte🡒ID of attachment (HTML messages only), or " " if no cid is required
typeTexte🡒Value of the content-type header
dispositionTexte🡒Value of the content-disposition header: "inline" or "attachment".
RésultatObjet🡐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( ))