mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(email): add sendername to email notification (#506)
* feat(email): add sendername to email notification * feat(email): add sendername to api + move field in form Co-authored-by: Jakob Ankarhem <jakob.ankarhem@jetshop.se>
This commit is contained in:
@@ -60,7 +60,10 @@ class EmailAgent
|
||||
const settings = this.getSettings();
|
||||
return new Email({
|
||||
message: {
|
||||
from: settings.options.emailFrom,
|
||||
from: {
|
||||
name: settings.options.senderName,
|
||||
address: settings.options.emailFrom,
|
||||
},
|
||||
},
|
||||
send: true,
|
||||
transport: this.getSmtpTransport(),
|
||||
|
@@ -81,6 +81,7 @@ export interface NotificationAgentEmail extends NotificationAgentConfig {
|
||||
authUser?: string;
|
||||
authPass?: string;
|
||||
allowSelfSigned: boolean;
|
||||
senderName: string;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -148,6 +149,7 @@ class Settings {
|
||||
smtpPort: 587,
|
||||
secure: false,
|
||||
allowSelfSigned: false,
|
||||
senderName: 'Overseerr',
|
||||
},
|
||||
},
|
||||
discord: {
|
||||
|
Reference in New Issue
Block a user