0.0.8 • Published 4 years ago
nexrender-action-smtp v0.0.8
Action: Upload
Email nexrender output video.
Installation
npm i nexrender-action-smtp -gUsage
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
transportrequired argument, the transport configuration object, connection url or a transport plugin instance (https://nodemailer.com/usage/)messagerequired argument, Email bodyfilenamerequired argument, filename of the video as an attachmentpayloadrequired argument, filename of the video sourcecidoptional argument, unique identifiermaxsizemboptional argument, set filesize limit for attachment. will generate an error if larger than specified.