Class | MailQueue
In: | app/models/mail_queue.rb
Parent: | ActiveRecord::Base

メールのキューのモデル。

### Methods

name recipients

### Public Instance methods

name()

名前を返す。

[Source]

        # File app/models/mail_queue.rb, line 43
    43:   def name
    44:     "mail queue #{id}"
    45:   end

recipients()

受信者の配列を返す。

[Source]

        # File app/models/mail_queue.rb, line 48
    48:   def recipients
    49:     arr = Person.find(recipient_ids.split(/,/))
    50:     arr |= [from] if copy_to_sender
    51:     arr.select(&:receive_mail?)
    52:     return arr
    53:   end

[Validate]