Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mailman/mailman
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: fatfreecrm/mailman
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 22, 2012

  1. Copy the full SHA
    7fe14bd View commit details
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/mailman/receiver/imap.rb
4 changes: 3 additions & 1 deletion lib/mailman/receiver/imap.rb
Original file line number Diff line number Diff line change
@@ -20,9 +20,11 @@ def initialize(options)
@username = options[:username]
@password = options[:password]
@filter = options[:filter] || ['NEW']
@server = options[:server]
@port = options[:port] || 143
@ssl = !!options[:ssl]

@connection = Net::IMAP.new(options[:server], @port)
@connection = Net::IMAP.new(@server, @port, @ssl)
end

# Connects to the IMAP server.