Displaying 3 results from an estimated 3 matches for "reply_url".
2009 Feb 08
2
SocketError in EmailController#correspond
...ot;
if param_posted?(:message)
@message = Message.new(params[:message])
if @message.valid?
UserMailer.deliver_message(
:user => user,
:recipient => recipient,
:message => @message,
:user_url => profile_for(user),
:reply_url => url_for(:action => "correspond",
:id => user.user_name)
)
flash[:notice] = "Email sent."
redirect_to profile_for(recipient)
end
end
end
end
--
Posted via http://www.ruby-forum.com/.
--~--~---------...
2008 May 03
2
ActionMailer Multiple recipients
...end
if param_posted?(:message)
@message = Message.new(params[:message])
if @message.valid?
UserMailer.deliver_groupmess(
:user => user,
:recipient => address,
:message => @message,
:user_url => profile_for(user),
:reply_url => url_for(:action => "correspond",
:id => user.screen_name)
)
flash[:notice] = "Email sent."
redirect_to profile_for(user)
end
end
and in models/user_mailer.rb , I have
def groupmess(mail)
subject...
2010 Mar 10
6
Email section
Sir , I want to implement email section in ma web application..
so i found the method ''server_setting'' for it...
Following is the method:
config.action_mailer.server_settings = {
:address => "smtp.gmail.com" ,
:port => 25,
:domain => "gmail.com" ,
:authentication => :login,
:user_name => "manish" ,
:password =>