Actionmailer cant sent the mail

Hi everybody,
Im facing problems in sending mail using actionmailer. Im trying to
do a
simple stuff where user types in his message and the receiptent email
address, the n that message should be received by the receiptent. I
checked the development.log file, but there I havent noticed any
the workflow of the program is fine, but at the end of the day, the
receiptent is not receiving the mail

Below is the controller file:

class EmailerController < ApplicationController
  def sendmail
     recipient = params[:reciptent]

You've got a typo, and so you're not setting the recipient (notice in
the log how it doesn't say who the email is sent to )


Thanx a lot for the help....I dont know how I missed that

Frederick Cheung wrote: