fix tests, docs
parent
945626247f
commit
89d5a8e80e
basis/smtp
|
@ -23,7 +23,8 @@ HELP: send-email
|
|||
{ $description "Sends an " { $link email } " object to an STMP server stored in the " { $link smtp-server } " variable. The required slots are " { $snippet "from" } " and " { $snippet "to" } "." }
|
||||
|
||||
{ $examples
|
||||
{ $example "<email>"
|
||||
{ $unchecked-example "USING: accessors smtp ;"
|
||||
"<email>"
|
||||
" \"groucho@marx.bros\" >>from"
|
||||
" { \"chico@marx.bros\" \"harpo@marx.bros\" } >>to"
|
||||
" { \"gummo@marx.bros\" } >>cc"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
USING: smtp tools.test io.streams.string io.sockets threads
|
||||
smtp.server kernel sequences namespaces logging accessors
|
||||
assocs sorting ;
|
||||
assocs sorting smtp.private ;
|
||||
IN: smtp.tests
|
||||
|
||||
{ 0 0 } [ [ ] with-smtp-connection ] must-infer-as
|
||||
|
|
Loading…
Reference in New Issue