summaryrefslogtreecommitdiff
path: root/lib/net/smtp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r--lib/net/smtp.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index e525bbb..29862ea 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -815,6 +815,12 @@ module Net
public
+ # Aborts the current mail transaction
+
+ def rset
+ getok('RSET')
+ end
+
def starttls
getok('STARTTLS')
end