AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/Net/SMTP/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Net/SMTP/new-c.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Net::SMTP object. - !ruby/struct:SM::Flow::P body: <tt>address</tt> is the hostname or ip address of your SMTP server. <tt>port</tt> is the port to connect to; it defaults to port 25. - !ruby/struct:SM::Flow::P body: This method does not open the TCP connection. You can use SMTP.start instead of SMTP.new if you want to do everything at once. Otherwise, follow SMTP.new with SMTP#start. full_name: Net::SMTP::new is_singleton: true name: new params: (address, port = nil) visibility: public