how to create a mailer

hi, i got a problem in creating a mailer using rails g mailer UserMailer … used to send a mail to the user entered e mail-id …in the form.

Hi annapoorna, Please give me some details about your error.