Changeset 39125 in project


Ignore:
Timestamp:
11/06/20 10:59:31 (3 weeks ago)
Author:
sven
Message:

Must be a list of alists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/send-grid

    r39087 r39125  
    5555Only {{html}} or {{text}} needs to be specified. If {{html}} is specified, then the resulting email will be in HTML format. If both {{html}} and {{text}} are specified, then the resulting email will only include the contents of {{html}}.
    5656
    57 {{files}} is optional and is a list of alists containing file attachments. The alist for each file must contain the key {{filename}} -- a string, {{filepath}} -- a string, and {{content-type}} -- a symbol. Example:
     57{{files}} is optional and is a list of alists containing file attachments. The alist for each file must contain the key {{filename}} -- a string, {{filepath}} -- a string, and {{content-type}} -- a symbol. Example of {{files}}:
    5858
    5959<enscript highlight=scheme>
    60 ((filepath "/foo.txt") (filename "foo.txt") (content-type text/plain))
     60(((filepath . "/foo.txt") (filename . "foo.txt") (content-type . text/plain)))
    6161</enscript>
    6262
Note: See TracChangeset for help on using the changeset viewer.