fix reply-to header in email

This commit is contained in:
Matthias Nannt
2023-02-08 12:04:45 +01:00
parent 623d54d6e5
commit 51c80cb9d5
4 changed files with 8 additions and 8 deletions

View File

@@ -76,7 +76,7 @@ export default function PmfButton() {
}
setIsOpen(!isOpen);
}}>
{isOpen ? "Close" : "Feedback"}
{isOpen ? "Close" : "Hey 👋"}
</button>
<div
className="xs:px-2 h-full overflow-hidden rounded-l-lg bg-[#f8fafc] shadow-lg"

View File

@@ -87,7 +87,7 @@ export const sendSubmissionEmail = async (
formId,
formLabel: string,
schema: any,
submission
submission: any
) => {
await sendEmail({
to: email,
@@ -99,7 +99,7 @@ export const sendSubmissionEmail = async (
: event === "finished"
? `${formLabel} submission finished`
: `${formLabel} submission update`,
replyTo: submission.customer?.email || process.env.MAIL_FROM,
replyTo: submission.customerEmail || process.env.MAIL_FROM,
html: `${
event === "created"
? `Hey, someone just filled out your form "${formLabel}" in Formbricks.`

File diff suppressed because one or more lines are too long

View File

@@ -74,7 +74,7 @@
name="formbricksPmf-2-1"
type="radio"
class="formbricks-radio-input" />
<label class="formbricks-radio-label" id="formbricksPmf-2-1">Executive</label>
<label class="formbricks-radio-label" for="formbricksPmf-2-1">Executive</label>
</div>
<div class="formbricks-radio-option">
<input
@@ -84,7 +84,7 @@
name="formbricksPmf-2-2"
type="radio"
class="formbricks-radio-input" />
<label class="formbricks-radio-label" id="formbricksPmf-2-2">Product Manager</label>
<label class="formbricks-radio-label" for="formbricksPmf-2-2">Product Manager</label>
</div>
<div class="formbricks-radio-option">
<input
@@ -94,7 +94,7 @@
name="formbricksPmf-2-3"
type="radio"
class="formbricks-radio-input" />
<label class="formbricks-radio-label" id="formbricksPmf-2-3">Product Owner</label>
<label class="formbricks-radio-label" for="formbricksPmf-2-3">Product Owner</label>
</div>
<div class="formbricks-radio-option">
<input
@@ -104,7 +104,7 @@
name="formbricksPmf-2-4"
type="radio"
class="formbricks-radio-input" />
<label class="formbricks-radio-label" id="formbricksPmf-2-4">Software Engineer</label>
<label class="formbricks-radio-label" for="formbricksPmf-2-4">Software Engineer</label>
</div>
</div>
</fieldset>