Method: ICFS::Email::From#receive

Defined in:
lib/icfs/email/from.rb

#receive(env) ⇒ Object

Extract the user based on the FROM: email.



41
42
43
44
45
46
# File 'lib/icfs/email/from.rb', line 41

def receive(env)
  email = env[:msg].from.first
  unam = @map[email]
  env[:user] = unam if unam
  return :continue
end