Module: Vmail::Sender
Instance Method Summary collapse
Instance Method Details
#send ⇒ Object
8 9 10 11 12 13 |
# File 'lib/vmail/sender.rb', line 8 def send opts = Vmail::SendOptions.new(ARGV) config = opts.config.merge 'logile' => STDERR imap_client = Vmail::ImapClient.new config imap_client.deliver STDIN.read end |