[racket] how to use ``smtp-send-message''?
hello all,
i am trying to use ``smtp-send-message" to send emails via gmail. my
code is following:
``
#! /usr/local/bin/racket
#lang racket
(require net/head net/smtp)
(smtp-send-message
"smtp.gmail.com"
"w1 <theuser at gmail.com>"
'("w2 <w2 at hotmail.com>")
(standard-message-header
"w1 <theuser at gmail.com>"
'("w2 <w2 at hotmail.com>")
'() ; CC
'() ; BCC
"Subject")
'("Hello World!")
#:port-no 587
#:auth-user "theuser at gmail.com"
#:auth-passwd "theauthpassword")
''
the code does not work. the similar config works for a python program.
anyone knows how to do this job with racket?
----------------------
daniel
☵☯☲