Sha256: 6d375701f40f78bfea1c9a2be4cb79749e851d30d11b5f4bd438dd2f18df4863
Contents?: true
Size: 340 Bytes
Versions: 29
Compression:
Stored size: 340 Bytes
Contents
class FeedbackMailer < ActionMailer::Base default :from => "mailer-no-reply@cagym.com" def submit_feedback(feedback) @feedback = feedback #attachments["rails.png"] = File.read("#{Rails.root}/public/images/rails.png") mail(:to => "hipkin@pacbell.net", :subject => %(CAGYM.com user feedback: #{feedback.subject})) end end
Version data entries
29 entries across 29 versions & 1 rubygems