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.