send email
📜 This job is an official example from OpenFn.
Metadata​
- Name: send email
- Adaptor:
@openfn/language-mailgun
- Adaptor Version:
latest
- Created date unknown
- Updated date unknown
- Score: 100 (an indicator of how useful this job may be)
Key Functions​
dataValue
, field
, fields
, send
Expression​
send(
fields(
field('from', 'you@domain.com'),
field('to', dataValue('form.submission.respondantEmail')),
field('subject', 'Thanks for completing our survey.'),
field('text', 'Your message goes here.')
)
);