fix: update email sender to use dynamic address from form data
This commit is contained in:
parent
6fce11c77d
commit
0dc3ede6e2
@ -121,7 +121,7 @@ export class QnaService {
|
|||||||
|
|
||||||
return this.tryFunction(() => {
|
return this.tryFunction(() => {
|
||||||
return sendEmail({
|
return sendEmail({
|
||||||
from: 'test@test.com',
|
from: formData.get('qstMail') as string,
|
||||||
to: receivers,
|
to: receivers,
|
||||||
subject: `[HANASYS お問い合わせ] ${formData.get('title')}`,
|
subject: `[HANASYS お問い合わせ] ${formData.get('title')}`,
|
||||||
content: this.generateEmailContent(formData),
|
content: this.generateEmailContent(formData),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user