Method: IPAccess::Net::SMTP.start
- Defined in:
- lib/ipaccess/ghost_doc/ghost_doc_net_smtp.rb
.start ⇒ Object
:call-seq:
start(address) <tt>{|smtp|
Creates a new object and connects to the server. If helo
is missing or nil
the localhost.localdomain
string will be used. This method is equivalent to:
smtp = IPAccess::Net::SMTP.new(address, port)
smtp.start(helo_domain, account, password, authtype)
This method optionally sets an access set given as the last parameter. If acl
parameter is not given it defaults to IPAccess::Set.Global
.
185 186 187 |
# File 'lib/ipaccess/ghost_doc/ghost_doc_net_smtp.rb', line 185 def self.start # Real code hidden. end |