update mail from
This commit is contained in:
parent
aac8861eb5
commit
7b2f5ecdec
|
|
@ -1 +1 @@
|
|||
{"createdAt":1747970028717}
|
||||
{"createdAt":1748224707802}
|
||||
|
|
@ -8,6 +8,7 @@ import { MailProcessor } from './process/mail.processor';
|
|||
imports: [
|
||||
MailerModule.forRootAsync({
|
||||
imports: [ConfigModule],
|
||||
|
||||
useFactory: async (config: ConfigService) => ({
|
||||
transport: {
|
||||
host: config.get<string>('MAIL_SERVER'),
|
||||
|
|
@ -18,7 +19,11 @@ import { MailProcessor } from './process/mail.processor';
|
|||
pass: config.get<string>('MAIL_PASSWORD'),
|
||||
},
|
||||
},
|
||||
defaults: {
|
||||
from: `"Bids" <${config.get<string>('MAIL_USER')}>`,
|
||||
},
|
||||
}),
|
||||
|
||||
inject: [ConfigService],
|
||||
}),
|
||||
],
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ export class AdminNotificationListener {
|
|||
to: mails,
|
||||
html: this.mailsService.getAuctionStatusEmailContent(bid),
|
||||
subject:
|
||||
'Report Auto Auctions System ' +
|
||||
`[${bid.status.toUpperCase()}] Report Auto Auctions System ` +
|
||||
moment(new Date()).format('YYYY-MM-DD HH:mm'),
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue