]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.1.html: net/mail, net/smtp
authorRob Pike <r@golang.org>
Tue, 26 Mar 2013 18:47:27 +0000 (11:47 -0700)
committerRob Pike <r@golang.org>
Tue, 26 Mar 2013 18:47:27 +0000 (11:47 -0700)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7835049

doc/go1.1.html

index d08b1c3964e1ec6bd2778f86627f7c08098ed91d..3dc10976376ec85c56a020ae16d2f4d63aa4a7b6 100644 (file)
@@ -837,12 +837,19 @@ being fully consumed.
 The new <a href="/pkg/net/http/cookiejar/">net/http/cookiejar</a> package provides the basics for managing HTTP cookies.
 </li>
 
-<li> TODO: 
-<code>net/mail</code>: ParseAddress, ParseAddressList
+<li>
+The <a href="/pkg/net/mail/"><code>net/mail</code></a> package has two new functions,
+<a href="/pkg/net/mail/#ParseAddress"><code>ParseAddress</code></a> and
+<a href="/pkg/net/mail/#ParseAddressList"><code>ParseAddressList</code></a>,
+to parse RFC 5322-formatted mail addresses into
+<a href="/pkg/net/mail/#Address"><code>Address</code></a> structures.
 </li>
 
-<li> TODO: 
-<code>net/smtp</code>: Client.Hello
+<li>
+The <a href="/pkg/net/smtp/"><code>net/smtp</code></a> package's
+<a href="/pkg/net/smtp/#Client"><code>Client</code></a> type has a new method,
+<a href="/pkg/net/smtp/#Client.Hello"><code>Hello</code></a>,
+which transmits a <code>HELO</code> or <code>EHLO</code> message to the server.
 </li>
 
 <li>