Support to configure the log file name.
Fix a bug :when the attachment is a txt file, the attachment's content  will be show in the mail subject instead of the origin subject.
Merge branch 'release/v0.2.1'