0.0.8 • Published 2 years ago
nexrender-action-smtp v0.0.8
Action: Upload
Email nexrender output video.
Installation
npm i nexrender-action-smtp -g
Usage
When creating your render job provide this module as one of the postrender
actions:
// job.json
{
"actions": {
"postrender": [
{
"module": "nexrender-action-smtp",
"transport" : {
"host": "smtp.example.com",
"port": 587,
"secure": false,
"auth": {
"user": "username",
"pass": "password",
},
},
"message" : "<email message>",
"filename" : "VideoTitle.mp4",
"payload" : "encoded.mp4",
"cid" : "ID@UUID",
"maxsizemb" : 22
}
]
}
}
Information
transport
required argument, the transport configuration object, connection url or a transport plugin instance (https://nodemailer.com/usage/)message
required argument, Email bodyfilename
required argument, filename of the video as an attachmentpayload
required argument, filename of the video sourcecid
optional argument, unique identifiermaxsizemb
optional argument, set filesize limit for attachment. will generate an error if larger than specified.