Class: MinimalSMTPSession
Instance Attribute Summary
#active, #connection, #domain, #forward_path, #host, #message, #reverse_path
Instance Method Summary
collapse
#initialize, #process, #route, #run, #setup_session
#commands, #replies, #reply
Constructor Details
This class inherits a constructor from SMTP::Session
Instance Method Details
#data(body) ⇒ Object
106
107
108
|
# File 'lib/drillmail/smtp.rb', line 106
def data(body)
DataCommand.new(self, body).call
end
|
#extended_hello(body) ⇒ Object
#hello(body) ⇒ Object
94
95
96
|
# File 'lib/drillmail/smtp.rb', line 94
def hello(body)
HelloCommand.new(self, body).call
end
|
#mail(body) ⇒ Object
100
101
102
|
# File 'lib/drillmail/smtp.rb', line 100
def mail(body)
MailCommand.new(self, body).call
end
|
#no_operation(body) ⇒ Object
115
116
117
|
# File 'lib/drillmail/smtp.rb', line 115
def no_operation(body)
reply(250)
end
|
#quit(body) ⇒ Object
112
113
114
|
# File 'lib/drillmail/smtp.rb', line 112
def quit(body)
QuitCommand.new(self, body).call
end
|
#recipient(body) ⇒ Object
103
104
105
|
# File 'lib/drillmail/smtp.rb', line 103
def recipient(body)
RecipientCommand.new(self, body).call
end
|
#reset(body) ⇒ Object
109
110
111
|
# File 'lib/drillmail/smtp.rb', line 109
def reset(body)
ResetCommand.new(self, body).call
end
|