mailgun@0.5.6
This adaptor exports the following from common:
- alterState()
- beta
- dataPath()
- dataValue()
- each()
- field()
- fields()
- fn()
- fnIf()
- lastReferenceValue()
- merge()
- sourceValue()
Functions
send
send(params)
Create an event
Param | Type | Description |
---|---|---|
params | object | Params for sending an email |
Example
send({
from: 'from_email',
to: 'to_email',
subject: 'Your Subject',
text: 'Your message goes here',
attachment: {
url: 'www.google.com/doodle.png',
filename: 'forYou.png',
},
})