app/models/email_queue.rb
def release
    # Delivers by logging the encoded message to $stdout
    email.delivery_method :logger if Rails.env != 'production'
    
    if EmailContact.log(person_id, email.deliver!, application_status, original, contactable)
       self.destroy
    end
  end
# Releases an email from the queue by sending the email and deleting this EmailQueue record. If a +command_after_delivery+ was specified
# when this object was created, execute that command now as well.
Releases an email from the queue by sending the email and deleting this EmailQueue record. If a +command_after_delivery+ was specified
when this object was created, execute that command now as well.
Releases an email from the queue by sending the email and deleting this EmailQueue record . If a + command_after_delivery + was specified when this object was created execute that command now as well .
def release
    email.delivery_method :logger if Rails.env != 'production'
    if EmailContact.log(person_id, email.deliver!, application_status, original, contactable)
       self.destroy
    end
  end
def release email . delivery_method :logger if Rails . env != 'production' if EmailContact . log ( person_id , email . deliver! , application_status , original , contactable ) self . destroy end end
Releases an email from the queue by sending the email and deleting this EmailQueue record.
Releases an email from the queue by sending the email and deleting this EmailQueue record .
# Delivers by logging the encoded message to $stdout