'trust_proxy',
'database.hostname', 'database.port', 'database.suffix', 'database.username', 'database.password', 'database.pool.max',
'smtp.hostname', 'smtp.port', 'smtp.username', 'smtp.password', 'smtp.tls', 'smtp.from_address',
- 'email.body.signature', 'email.object.prefix',
+ 'email.body.signature', 'email.subject.prefix',
'storage.avatars', 'storage.videos', 'storage.logs', 'storage.previews', 'storage.thumbnails', 'storage.torrents', 'storage.cache',
'storage.redundancy', 'storage.tmp', 'storage.streaming_playlists', 'storage.plugins',
'log.level',
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + channelName + ' just published a new video',
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + channelName + ' just published a new video',
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + 'New follower on your channel ' + followingName,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + 'New follower on your channel ' + followingName,
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + 'New instance follower',
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + 'New instance follower',
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + `Your video ${video.name} is published`,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + `Your video ${video.name} is published`,
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + `Your video import ${videoImport.getTargetIdentifier()} is finished`,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + `Your video import ${videoImport.getTargetIdentifier()} is finished`,
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + `Your video import ${videoImport.getTargetIdentifier()} encountered an error`,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + `Your video import ${videoImport.getTargetIdentifier()} encountered an error`,
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + 'New comment on your video ' + video.name,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + 'New comment on your video ' + video.name,
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + 'Mention on video ' + video.name,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + 'Mention on video ' + video.name,
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + 'Received a video abuse',
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + 'Received a video abuse',
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + 'An auto-blacklisted video is awaiting review',
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + 'An auto-blacklisted video is awaiting review',
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + 'New user registration on ' + WEBSERVER.HOST,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + 'New user registration on ' + WEBSERVER.HOST,
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + `Video ${videoName} blacklisted`,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + `Video ${videoName} blacklisted`,
text
}
const emailPayload: EmailPayload = {
to,
- subject: CONFIG.EMAIL.OBJECT.PREFIX + `Video ${video.name} unblacklisted`,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + `Video ${video.name} unblacklisted`,
text
}
const emailPayload: EmailPayload = {
to: [ to ],
- subject: CONFIG.EMAIL.OBJECT.PREFIX + 'Reset your password',
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + 'Reset your password',
text
}
const emailPayload: EmailPayload = {
to: [ to ],
- subject: CONFIG.EMAIL.OBJECT.PREFIX + 'Verify your email',
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + 'Verify your email',
text
}
const to = user.email
const emailPayload: EmailPayload = {
to: [ to ],
- subject: CONFIG.EMAIL.OBJECT.PREFIX + 'Account ' + blockedWord,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + 'Account ' + blockedWord,
text
}
fromDisplayName: fromEmail,
replyTo: fromEmail,
to: [ CONFIG.ADMIN.EMAIL ],
- subject: CONFIG.EMAIL.OBJECT.PREFIX + subject,
+ subject: CONFIG.EMAIL.SUBJECT.PREFIX + subject,
text
}