|
|
@ -46,8 +46,8 @@ export class SupportService { |
|
|
|
|
|
|
|
|
// Send confirmation email to user
|
|
|
// Send confirmation email to user
|
|
|
await this.mailService.sendEmailFromTemplate({ |
|
|
await this.mailService.sendEmailFromTemplate({ |
|
|
|
|
|
from: 'support@textbee.dev', |
|
|
to: createSupportMessageDto.email, |
|
|
to: createSupportMessageDto.email, |
|
|
cc: process.env.ADMIN_EMAIL, |
|
|
|
|
|
subject: `Support Request Submitted: ${createSupportMessageDto.category}-${savedMessage._id}`, |
|
|
subject: `Support Request Submitted: ${createSupportMessageDto.category}-${savedMessage._id}`, |
|
|
template: 'customer-support-confirmation', |
|
|
template: 'customer-support-confirmation', |
|
|
context: { |
|
|
context: { |
|
|
@ -118,8 +118,8 @@ export class SupportService { |
|
|
|
|
|
|
|
|
// Send confirmation email
|
|
|
// Send confirmation email
|
|
|
await this.mailService.sendEmailFromTemplate({ |
|
|
await this.mailService.sendEmailFromTemplate({ |
|
|
|
|
|
from: 'support@textbee.dev', |
|
|
to: user.email, |
|
|
to: user.email, |
|
|
cc: process.env.ADMIN_EMAIL, |
|
|
|
|
|
subject: `Account Deletion Request: ${savedMessage._id}`, |
|
|
subject: `Account Deletion Request: ${savedMessage._id}`, |
|
|
template: 'account-deletion-request', |
|
|
template: 'account-deletion-request', |
|
|
context: { |
|
|
context: { |
|
|
|