On 6/7/2016 5:18 AM, Лера Гранкина wrote:
I'm trying to send message using the code below, but I always get error "No reply 
from computer".

(require  net/smtp net/dns openssl/mzssl net/head)

(smtp-send-message
  (dns-get-address "192.168.5.254" "smtp.gmail.com")
  "m...@gmail.com"
  '("m...@gmail.com")
  (standard-message-header
   "Sender <m...@gmail.com>"
   '("Recipient <m...@gmail.com>")
   '()
   '()
   "Subject")
   '("Hello World")
  #:port-no 465
  #:auth-user "m...@gmail.com"
  #:auth-passwd "mypassword"
  #:tcp-connect tcp-connect)


Gmail requires a secure connection:  use  #:tcp-connect ssl-connect

George


--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to