lib/mournmail/config.rb in mournmail-1.0.1 vs lib/mournmail/config.rb in mournmail-1.0.2
- old
+ new
@@ -34,6 +34,23 @@
CONFIG[:mournmail_file_open_comamnd] = "xdg-open"
CONFIG[:mournmail_link_open_comamnd] = "xdg-open"
end
CONFIG[:mournmail_addresses_path] = File.expand_path("~/.addresses")
CONFIG[:mournmail_signature_regexp] = /^\n-- /
+ CONFIG[:mournmail_allowed_attachment_extensions] = [
+ "txt",
+ "md",
+ "htm",
+ "html",
+ "pdf",
+ "jpg",
+ "jpeg",
+ "png",
+ "gif",
+ "doc",
+ "docx",
+ "xls",
+ "xlsx",
+ "ppt",
+ "zip"
+ ]
end