Fixed: rfc822 attachments name creating bug and validation enhancement (bug#10394).