Sha256: ed7f9d58c7427932c79dfea77c706b2ebfd8937a9f0f38a09b270df1e389b653

Contents?: true

Size: 255 Bytes

Versions: 3

Compression:

Stored size: 255 Bytes

Contents

require 'mail2wiki-helper'

@imap = Net::IMAP.new('imap.hermes.cam.ac.uk')
@imap.login( 'tamc2', 'iama8yes' )

@imap.select 'mcr notices'

message = Message.new( @imap, 1 )

p message.date
p message.subject
p message.textile

@imap.logout
@imap.disconnect

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
Soks-0.0.6 lib/helpers/mail2wiki-test.rb
Soks-0.0.7 lib/helpers/mail2wiki-test.rb
Soks-1.0.0 lib/helpers/mail2wiki-test.rb