Log mail delivery errors to database and add an UI for it

This commit is contained in:
Patrick Gansterer 2017-08-18 09:17:19 +02:00
parent 0363f2dadc
commit 97abcabffa
16 changed files with 137 additions and 4 deletions

View file

@ -0,0 +1,5 @@
class MailDeliveryStatus < ActiveRecord::Base
self.table_name = 'mail_delivery_status'
belongs_to :user, foreign_key: 'email', primary_key: 'email'
end