most of my emails sent through actionmailer have all the same sender …
how can i set a default sender for each email defined within an
actionmailer … but still have the chance to override it later.
You can do something like this:
Set the default sender in ActionMailer and try getting the email from
view page like params[:email]
So that it can be set to default value if the params[:email] is nil
/blank else get the email from UI to override the default sender.
thats not exactly what i want … i want e.g. set the default sender or
prefix automatically the subject before sending the mail …
Vidya Ramachandren wrote:
You can do something like this:
Set the default sender in ActionMailer and try getting the email from
view page like params[:email]
So that it can be set to default value if the params[:email] is nil
/blank else get the email from UI to override the default sender.