I have created a form where a user can select from a drop down list of
names. Based on the selection, a value is passed and appropriate email
is looked up.
Then, I call actionmailer to deliver the email.
Problem is that it seems that (from log file) rhtml file is passing
correct value to sendmail_qualitylead action, however, toEmail in the
action is either not getting set or not getting passed appropriately
(sql command seems to be executed as shown in log file).
.rhtml file ->
<%=form_tag :controller=>“xyz”, :action=>“sendmail_qualitylead”%>
|Name :||<%=select(:lead, :contactID, @DropDown)%>|