Sha256: b058d9d2cf385baacf1f94f8807752ae54cfc04c64be9d545f3b741e709bb6e0
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
# module: Publish::Gmail -- Yuanying # # publish entry to imap mail. # # example: # # - module: Publish::Gmail # config: # username: username # password: password # wait: 1 # mail: # subject_prefix: '[Yapra]' # from: 'test@example.com' # to: 'test2@example.com' # require 'net/imap' require 'yapra/plugin/publish/imap' module Yapra::Plugin::Publish class Gmail < Yapra::Plugin::Publish::Imap protected def create_imap server, port, usessl Net::IMAP.new('imap.gmail.com', 993, true) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yapra-0.1.0 | lib-plugins/yapra/plugin/publish/gmail.rb |