]> git.cworth.org Git - sup/blobdiff - lib/sup/util.rb
attachment and message mime stuff cleanups in preparation for fowards as attachments
[sup] / lib / sup / util.rb
index 6ddd758e8a9ef997fc4293b40f3c464a5d411c2b..c288795f0d66b50cdaed64697252cdf309fad7de 100644 (file)
@@ -63,7 +63,7 @@ module RMail
   class EncodingUnsupportedError < StandardError; end
 
   class Message
-    def add_attachment fn
+    def add_file_attachment fn
       bfn = File.basename fn
       a = Message.new
       t = MIME::Types.type_for(bfn).first || MIME::Types.type_for("exe").first