Layout in Email

if you want to apply a layout for a specific action you can do like this in the controller say layout => ‘main_layout’, :except => ‘your_action’

in the action say render :layout => ‘mail_layout’

What you need is this:

hope it helps.. cheers..

ooooops sorry layout ‘main_layout’, :except => ‘your_action’

but i think to get ur requirement u had to put some thing like @content_type = “text/html” in the mailer action