Found one Bug in File mailer.cpp  Line 815. Missing else

If the contenttype is an image then smtpheader is image/gif or so but also contenttype from line 830.