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 body -
filename
required argument, filename of the video as an attachment -
payload
required argument, filename of the video source -
cid
optional argument, unique identifier -
maxsizemb
optional argument, set filesize limit for attachment. will generate an error if larger than specified.