Email reply to actionmailer

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Email reply to actionmailer

Aqib Hameed
I am using the action mailer, and i want to reply the email, below piece of code using

user_mailer.rbĀ 

def send_mail_agent(user)
@user = user

mail(:to=> user.email, :reply_to => user.email)


end views/user_mailer/send_mail_agent.html.erb
<%= @user.fullname %>

But it send the new email not reply to the actual email

How i reply the email ????

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ac79f558-6874-48e3-be16-bac734904f09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...