Skip to content

Commit 5d8f5b5

Browse files
committed
Merge pull request dcparker#65 from jamster/master
Merging
2 parents 44fc225 + 8cc8488 commit 5d8f5b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/gmail/mailbox.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def emails(key_or_opts = :all, opts={})
5050
search.concat ['ON', opts[:on].to_imap_date] if opts[:on]
5151
search.concat ['FROM', opts[:from]] if opts[:from]
5252
search.concat ['TO', opts[:to]] if opts[:to]
53+
search.concat ['SUBJECT', opts[:subject]] if opts[:subject]
5354
end
5455

5556
# puts "Gathering #{(aliases[key] || key).inspect} messages for mailbox '#{name}'..."

0 commit comments

Comments
 (0)