Class: Mailman

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/helpers/mailman.rb

Overview

Receive an email from which a model Mail is created.

An associated Elt is generated. Attachments are also created in an associated table

Instance Method Summary collapse

Instance Method Details

#receive(email) ⇒ Object



8
9
10
# File 'app/helpers/mailman.rb', line 8

def receive(email)
	Mail.receive email
end