Skip to main content

mailgun@0.4.3

send​

send(params) Create an event

Kind: global function
Access: public

ParamTypeDescription
paramsobjectParams 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',
},
})