Displaying 1 result from an estimated 1 matches for "groupcorr".
Did you mean:
  grouparr
  
2008 May 03
2
ActionMailer Multiple recipients
I am using ActionMailer to send mails. I want to send mails to
multiple recipients which I get from a view.  Here is the controller
code.
def groupcorres
    user = User.find(session[:user_id])
    address = Array.new
    lines = Array.new
    args = params[:id].to_s # params[:id] is an array of user screen
name. ex:  j_doe, d_john
    lines = args.split(",")
    for line in lines
    	recipient = User.find_by_screen_name(line)
	email =...