Forum: Ruby on Rails Email Exception

Posted by phoe san (phoesan)
on 2012-07-17 07:20
Dear All,

I would like to know How to Mailer Exception Handling.

In My Project, I send email to all contact and view messages.

Whatever emails is wrong, not send email, I wanna keep on
process.


    UserMailer.message_email(@to_user,subject,message).deliver

    player = Player.new()
    player.user_id =  current_user.id
    player.game_id = @game.id
    player.ishost = true


I wanna do player process.

How I catch exception for like this.

Regards,

Phoesan
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.