Kajona\System\System\Mail::addAttachement

Adds a file to the current mail If no mimetype is given, the system tries to lookup the mimetype itself.

Use $bitInline if the attachment should not appear in the list of attachments in the mail client. Inline-attachments can be used in html-emails like <img src="cid:your-filename.jpg" />