Module: Ronin::Network::SMTP
- Defined in:
- lib/ronin/network/smtp/smtp.rb,
lib/ronin/network/smtp/email.rb
Overview
Global settings for accessing STMP.
Defined Under Namespace
Classes: Email
Constant Summary collapse
- DEFAULT_PORT =
Default SMTP port
25
Class Method Summary collapse
-
.default_port ⇒ Integer
The default Ronin SMTP port.
-
.default_port=(port) ⇒ Object
Sets the default Ronin SMTP port.
-
.message(options = {}) {|email| ... } ⇒ String
Creates a properly formatted email.
Class Method Details
.default_port ⇒ Integer
Returns The default Ronin SMTP port.
37 38 39 |
# File 'lib/ronin/network/smtp/smtp.rb', line 37 def SMTP.default_port @default_port ||= DEFAULT_PORT end |