lib/mournmail/config.rb in mournmail-1.0.4 vs lib/mournmail/config.rb in mournmail-1.0.5
- old
+ new
@@ -52,6 +52,17 @@
"xls",
"xlsx",
"ppt",
"zip"
]
+ CONFIG[:forgotten_attachment_re] =
+ Regexp.new(
+ "^(?!>).*" +
+ Regexp.union(
+ /I('ve| have) (attached|included)/,
+ /See the (attached|attachment)/,
+ /Attached file/,
+ /添付(する|した|します|しました|いたします|いたしました)/,
+ /ファイルを参照/
+ ).to_s
+ )
end