Forum: Ruby-core [Ruby 1.9 - Feature #5373][Open] SMTP - new method

Posted by art lussos (Guest)
on 2011-09-27 17:50
(Received via mailing list)
Issue #5373 has been reported by art  lussos.

----------------------------------------
Feature #5373: SMTP - new method
http://redmine.ruby-lang.org/issues/5373

Author: art  lussos
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Posted by mame (Yusuke Endoh) (Guest)
on 2012-03-26 20:28
(Received via mailing list)
Issue #5373 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned
Assignee set to aamine (Minero Aoki)


----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-25220

Author: art.lussos (art  lussos)
Status: Assigned
Priority: Normal
Assignee: aamine (Minero Aoki)
Category:
Target version:


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Posted by mame (Yusuke Endoh) (Guest)
on 2012-04-23 15:43
(Received via mailing list)
Issue #5373 has been updated by mame (Yusuke Endoh).

Status changed from Assigned to Feedback

Could you please create a test?

--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-26105

Author: art.lussos (art  lussos)
Status: Feedback
Priority: Normal
Assignee: aamine (Minero Aoki)
Category:
Target version:


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Posted by drbrain (Eric Hodel) (Guest)
on 2012-05-08 01:31
(Received via mailing list)
Issue #5373 has been updated by drbrain (Eric Hodel).

File net.smtp.rb.rset.patch added

Here is a patch with a test, may I commit?

There aren't many net/smtp tests so perhaps there is a better way than 
FakeSocket.
----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-26516

Author: art.lussos (art  lussos)
Status: Feedback
Priority: Normal
Assignee: aamine (Minero Aoki)
Category:
Target version:


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Posted by drbrain (Eric Hodel) (Guest)
on 2012-05-08 01:32
(Received via mailing list)
Issue #5373 has been updated by drbrain (Eric Hodel).

Status changed from Feedback to Assigned


----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-26517

Author: art.lussos (art  lussos)
Status: Assigned
Priority: Normal
Assignee: aamine (Minero Aoki)
Category:
Target version:


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Posted by drbrain (Eric Hodel) (Guest)
on 2012-07-04 01:42
(Received via mailing list)
Issue #5373 has been updated by drbrain (Eric Hodel).

Category set to lib
Target version set to 2.0.0

May I apply this?
----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-27775

Author: art.lussos (art  lussos)
Status: Assigned
Priority: Normal
Assignee: aamine (Minero Aoki)
Category: lib
Target version: 2.0.0


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Posted by shugo (Shugo Maeda) (Guest)
on 2012-11-13 10:33
(Received via mailing list)
Issue #5373 has been updated by shugo (Shugo Maeda).

Assignee changed from aamine (Minero Aoki) to mame (Yusuke Endoh)

drbrain (Eric Hodel) wrote:
> May I apply this?

Sasada-san told me that Aoki-san is neutral about this issue, and asked 
my take as a maintainer of Net::IMAP.

I think it's nice Net::SMTP to have a new method for the RSET command, 
but what do you think of it, Endo-san?

If permission is granted by Endo-san, there's one consideration about 
the method name.
The originally proposed method name is `reset', but the method name in 
the Eric's patch is `rset'.
I think `rset' is better, because other methods of Net::STMP have the 
same names as the SMTP command names.

----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-32847

Author: art.lussos (art  lussos)
Status: Assigned
Priority: Normal
Assignee: mame (Yusuke Endoh)
Category: lib
Target version: 2.0.0


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Posted by drbrain (Eric Hodel) (Guest)
on 2012-11-17 02:13
(Received via mailing list)
Issue #5373 has been updated by drbrain (Eric Hodel).


I chose rset because it matches the other methods that follow the SMTP 
protocol in Net::SMTP like helo, ehlo, rcptto, mailfrom
----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-33001

Author: art.lussos (art  lussos)
Status: Assigned
Priority: Normal
Assignee: mame (Yusuke Endoh)
Category: lib
Target version: 2.0.0


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Posted by mame (Yusuke Endoh) (Guest)
on 2012-11-19 19:04
(Received via mailing list)
Issue #5373 has been updated by mame (Yusuke Endoh).

Assignee changed from mame (Yusuke Endoh) to matz (Yukihiro Matsumoto)

I can't say anything but "no" because the deadline has passed.
So, don't ask me.

--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-33112

Author: art.lussos (art  lussos)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: lib
Target version: 2.0.0


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Posted by mame (Yusuke Endoh) (Guest)
on 2012-11-24 03:14
(Received via mailing list)
Issue #5373 has been updated by mame (Yusuke Endoh).

Target version changed from 2.0.0 to next minor


----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-33735

Author: art.lussos (art  lussos)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: lib
Target version: next minor


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Posted by drbrain (Eric Hodel) (Guest)
on 2013-03-04 22:16
(Received via mailing list)
Issue #5373 has been updated by drbrain (Eric Hodel).

Assignee changed from matz (Yukihiro Matsumoto) to drbrain (Eric Hodel)

Since Aoki-san was listed as neutral last I asked, I will apply this 
sometime next week.
----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-37288

Author: art.lussos (art  lussos)
Status: Assigned
Priority: Normal
Assignee: drbrain (Eric Hodel)
Category: lib
Target version: next minor


I would like to add the following method to smtp.rb command dispatcher 
section.

# The reset command tells the mail server that the current mail 
transaction should be aborted.
def reset
  getok('RSET')
end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.