Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmEmail.AddAttachment

function AddAttachment(const aData: tBytes; const aFileName: string; const aMediaType: string = ''): tMimeEntity;
Appends an attachment, converting the message to multipart/mixed when needed. aMediaType defaults to application/octet-stream.