mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
Fallback to using from address if test address is not set, add reset button when form has changes
This commit is contained in:
parent
d54edb93d6
commit
d748d43efc
14 changed files with 20 additions and 14 deletions
|
@ -26,7 +26,7 @@ class EmailManager {
|
|||
|
||||
transporter.sendMail({
|
||||
from: this.db.emailSettings.fromAddress,
|
||||
to: this.db.emailSettings.testAddress,
|
||||
to: this.db.emailSettings.testAddress || this.db.emailSettings.fromAddress,
|
||||
subject: 'Test email from Audiobookshelf',
|
||||
text: 'Success!'
|
||||
}).then((result) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue