This has gotten me rejection replies: 

  (smtp-send-message
   (dns-get-address (dns-find-nameserver) "smtp.gmail.com") 
   "matth...@ccs.neu.edu" 
   actual-send-to-addresses
   addresses-put-into-header
   file 
   #:port-no 465
   ; for gmail don't include the @gmail.com
   #:auth-user “foobarf@" 
   #:auth-passwd “XYZ"
   #:tcp-connect ssl-connect))



> On Mar 16, 2016, at 8:35 PM, Marc Kaufmann <marc.kaufman...@gmail.com> wrote:
> 
> Hi all,
> 
> I am using send-mail-message as follows:
> 
> #lang racket
> 
> (require net/sendmail)
> (send-mail-message
>  #f "Test sendmail"
>  '("fake-em...@marcs-server.com <mailto:fake-em...@marcs-server.com>")
>  '()
>  '()
>  '("Testing Racket sendmail."))
> 
> It works as expected when I send something to myself, since sendmail goes and 
> gets the email associated with my user. But when I send it to a non-existing 
> email, I do not get a notification that it wasn't delivered.
> 
> Is there a way to set the return address? I presume it goes into the 
> extra-header argument, but I am not sure.
> 
> Thanks,
> Marc
> 
> 
> -- 
> 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 
> <mailto:racket-users+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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