The setAttachment method of the mailer class now returns the size of the attachment