mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 12:22:10 +03:00
15 lines
370 B
Plaintext
15 lines
370 B
Plaintext
|
::
|
||
|
:::: /hoon/send/gmail/gen
|
||
|
::
|
||
|
/? 310
|
||
|
/- rfc
|
||
|
:- %say
|
||
|
|= {^ {to/tape subject/tape $~} _from="urbit-test@gmail.com"}
|
||
|
:- %gmail-req
|
||
|
:^ %post /messages/'send' ~['uploadType'^'simple']
|
||
|
^- message:rfc
|
||
|
=+ parse-adr=;~((glue pat) (cook crip (star ;~(less pat next))) (cook crip (star next)))
|
||
|
:+ (scan from parse-adr)
|
||
|
(scan to parse-adr)
|
||
|
[(crip subject) '']
|