Document mail module.
This commit is contained in:
parent
167dc90a65
commit
6a086d7ec1
1 changed files with 16 additions and 0 deletions
16
doc/utils.md
16
doc/utils.md
|
@ -183,6 +183,22 @@ most scheme implementations.
|
||||||
Returns a list containing only elements matching given ```pred?```
|
Returns a list containing only elements matching given ```pred?```
|
||||||
predicate.
|
predicate.
|
||||||
|
|
||||||
|
### Mail
|
||||||
|
|
||||||
|
(import util-mail)
|
||||||
|
|
||||||
|
A simple wrapper module to send emails from UNIX system.
|
||||||
|
|
||||||
|
(send-mail body-lines [#:from from] [#:to to] [#:subject subject])
|
||||||
|
|
||||||
|
* ```body-lines``` - lines of the email
|
||||||
|
* ```from``` - email address from string
|
||||||
|
* ```to``` - email address to string
|
||||||
|
* ```subject``` - email subject string
|
||||||
|
|
||||||
|
Sends email using mail(1) command. The arguments ```#:to``` and
|
||||||
|
```#:subject``` are mandatory. Argument ```#:from``` is optional.
|
||||||
|
|
||||||
### Parser
|
### Parser
|
||||||
|
|
||||||
(import util-parser)
|
(import util-parser)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue