path: root/lib/net/smtp.rb
diff options
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-05 10:25:53 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-05 10:25:53 +0000
commitb014cc337ef28498311f58a7b28bdfffebc53f00 (patch)
tree3cd5ad06eca04c69ae860e1421a06d0f73b281f4 /lib/net/smtp.rb
parent4890f3a684aff94d93a5cc3f68fa8c67c1da6c19 (diff)
Version 1.1.6
o all: use 'attr_reader/writer' instead of 'attr' o http.rb: get/head allow implicit 'start' o http.rb: change connection state algorithm o http.rb: process user header before write o protocol.rb: refine start/finish o protocol.rb: Command#last_reply o protocol.rb: ReplyCode.error! git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/smtp.rb')
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index 4b2986d..2c387db 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -36,7 +36,7 @@ Net::Protocol
This method opens TCP connection and start SMTP.
If protocol had been started, do nothing and return false.
-: sendmail( mailsrc, from_domain, to_addrs )
+: sendmail( mailsrc, from_addr, to_addrs )
This method sends 'mailsrc' as mail. SMTPSession read strings
from 'mailsrc' by calling 'each' iterator, and convert them
into "\r\n" terminated string when write.
@@ -47,7 +47,7 @@ Net::Protocol
* Net::ProtoUnknownError: unknown error
* Net::ProtoServerBusy: temporary error (errno.420/450)
-: ready( from_domain, to_addrs ) {|adapter| .... }
+: ready( from_addr, to_addrs ) {|adapter| .... }
This method stands by the SMTP object for sending mail.
In the block of this iterator, you can call ONLY 'write' method
for 'adapter'.
@@ -133,11 +133,11 @@ Net::Command
: mailfrom( from_addr )
This method sends "MAIL FROM" command.
- from_addr is your mail address(????@????).
+ from_addr is your mail address (xxxx@xxxx)
: rcpt( to_addrs )
This method sends "RCPT TO" command.
- to_addrs is array of mail address(???@???) of destination.
+ to_addrs is array of mail address (xxxx@xxxx) of destination.
: data
This method sends "DATA" command.