Unwanted name in triggered email

Question:
Can anyone tell me where this name “Barry Bonds” is coming from in this triggered email?
It appears regardless what names were entered into the form.
It only appears in Outlook mail. I do recognize the name as being the same as one entered earlier in my form for test purposes. I have since deleted this entry from my CMS collection.


Product:
[ Wix Studio Editor.]

What are you trying to achieve:
I am trying to find out the source of this name and either correct it or eliminate it.

What have you already tried:
I have scrutinized my triggered email code & template.
I have searched this forum for similar issues.
I have also done Google search.
12-12-2024 5:30 a.m. I also checked my Outlook account profile. Nothing in there with “Barry Bonds”

Additional information:
Here is my triggered email code:


Here is a screenshot of my email template:

Any assistance would be greatly appreciated.

I think, this is coming through from this:

Thank you for looking at this. Unfortunately that does not appear to be the source.
Reply-to email: Is not “Barry Bonds”.

You are using session data to fill in your variables.

You should be using the data actually being collected during that instance instead.

$w("#myDataset")
  .save()
  .then((item) => {
    let fieldValue = item.fieldName;
  })
  .catch((err) => {
    let errMsg = err;
  });

https://dev.wix.com/docs/velo/api-reference/$w/dataset/save

Also it doesn’t matter if it was deleted from the database collection.

The triggered email sends to a Contact based on the contact ID within your Wix dashboard, so if you continue to use the same email address for testing and you created Barry Bonds before ——- it’s going to keep pulling the data you fed the CRM originally.

Can I assume that if a different user enters a different email address other than the one I was using for testing the triggered email will not have “Barry Bonds” ?
I foresee a user only using the form one time and only using a different email address than the one I was using for testing. Thus really making this a non-issue.

It’s your code to use as you wish.

But I personally would not use a code that is flawed that way.

If I am understanding what the documentation is saying I would need remove $w(“#dataset1”).onReady(() => {} from within the page $w.onReady(() => {}. Does that mean I would eliminate the page $w.onReady(() => {} completely ? The documentation also states that Calling save() on a read-only dataset causes the Promise to reject. When I had my dataset configured as read & write the form input fields would be populated with the previous entries when the page loaded & would not allow me to enter new values into the form input fields. This is getting confusing for me.

Your dataset should be set to Write Only, to collect information.

Read Only means you are looking at an item but not changing it.

Read and Write means you are looking at the data and making changes to it.

You need Write Only. To create a new record.