stdEmailAttachmentExample
Script
v2
Fork
1
2
3
4
5
6
7
8
9
10
import
{
email
}
from
"https://esm.town/v/std/email?v=9"
;
export
const
stdEmailAttachmentExample
=
email
(
{
attachments
:
[
{
content
:
btoa
(
"hello attachments!"
)
,
filename
:
"test.txt"
,
type
:
"text"
,
disposition
:
"attachment"
,
}
]
,
}
)
;