Changeset 8026 in project


Ignore:
Timestamp:
02/01/08 09:33:46 (12 years ago)
Author:
felix winkelmann
Message:

fixed example (thanks to Daishi Kato)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/3/smtp/smtp.html

    r1270 r8026  
    7171<pre>
    7272(define s (smtp:connect "smtp.your-isp.net" (get-host-name)))
    73 (with-output-to-port (smtp:open s "me@my-isp.net" "you@your-isp.net")
    74   (lambda ()
    75     (print "Subject: How are you?\r\n\r\nSo, how are you then?\r\n") ) )
     73(define p (smtp:open s "me@my-isp.net" "you@your-isp.net"))
     74(display "Subject: How are you?\r\n\r\nSo, how are you then?\r\n\n" p)
     75(close-output-port p)
    7676(smtp:disconnect s)
    7777</pre>
     
    7979<h3>License:</h3>
    8080<pre>
    81 Copyright (c) 2003, Felix L. Winkelmann
     81Copyright (c) 2003-2008, Felix L. Winkelmann
    8282All rights reserved.
    8383
Note: See TracChangeset for help on using the changeset viewer.