Forum: Ruby on Rails Email Exception

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0160328e6ffddee736a73006184b6cd0?d=identicon&s=25 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
This topic is locked and can not be replied to.