made some changes removed need for axio-env.rkt, but i am still unable
to send email
so here follows a #warning noob email question, assuming the smtp
server name password and settings are right is there any reason
http://pastie.org/p/0CduaNLM67JpE7nk9I6vDx/raw does not  work . Can
anyone point me to some working examples if possible?

 source of program
https://www.mail-archive.com/[email protected]/msg43840.html


On Sat, Jul 31, 2021 at 9:41 AM mark M <[email protected]> wrote:
>
> (require "./axio-env.rkt")
>
> is this part of emailing program? as i am unable to install axio env
>
> raco pkg install [email protected]:AxioFramework/axio.git
> raco pkg install: invalid package source;
> inferred package name includes disallowed characters
> given: [email protected]:AxioFramework/axio.git
> mark@ll~ $ raco pkg install https://github.com:AxioFramework/axio.git
> raco pkg install: invalid package source;
> cannot parse URL
> given: https://github.com:AxioFramework/axio.git
>
> don't seem to work ; kindly help #noob
>
>
>
>
> On Wednesday, April 8, 2020 at 9:54:48 AM UTC-7 [email protected] wrote:
>>
>> I was able to write a simple wrapper around smtp-send-message and get it 
>> working through SendGrid in a few minutes (see below), but I wasn't able to 
>> find any examples of sending emails containing both a plain text version and 
>> HTML version. Can anyone point me to some examples?
>>
>> Thanks,
>> Brian Adkins
>>
>>
>> #lang racket/base
>>
>> (require net/head
>>          net/smtp
>>          openssl
>>          racket/contract)
>> (require "./axio-env.rkt")
>>
>> ;; (module+ main
>> ;;   (send-email "Fred Flintstone <[email protected]>"
>> ;;               '("Barney Rubble <[email protected]>")
>> ;;               "Test message subject"
>> ;;               (list
>> ;;                "Message line one"
>> ;;                "line two"
>> ;;                ""
>> ;;                "line four")))
>> (define/contract (send-email from to subject message-lines)
>>   (-> string? (listof string?) string? (listof (or/c string? bytes?)) any)
>>   (smtp-send-message smtp-server
>>                      from
>>                      to
>>                      (standard-message-header from to '() '() subject)
>>                      message-lines
>>                      #:port-no     smtp-port
>>                      #:auth-user   smtp-username
>>                      #:auth-passwd smtp-password
>>                      #:tls-encode  ports->ssl-ports))
>>
> --
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/221bf2b2-7ceb-4cba-b483-be2b71c35d0fn%40googlegroups.com.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAE5rLuLT%2BLmxHVjGJ83wA-FEDY_rKY_hc42Pv-CiJptgo6tJMA%40mail.gmail.com.

Reply via email to