Class: SimpleMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
lib/public/doc/mail/mail-gmail.rb

Instance Method Summary collapse

Instance Method Details

#simple_message(recipient) ⇒ Object



16
17
18
19
20
21
# File 'lib/public/doc/mail/mail-gmail.rb', line 16

def simple_message(recipient)
  from '[email protected]'
  recipients recipient
  subject 'Tę wiadomość wysłano z Gmail'
  body 'To naprawdę działa!'
end