解决方法
见
http://railscasts.com/episodes/206-action-mailer-in-rails-3
def registration_confirmation(user) @user = user attachments["rails.png"] = File.read("#{Rails.root}/public/images/rails.png") mail(:to => "#{user.name} <#{user.email}>",:subject => "Registered") end