Skip to content

🐛 Bug Report: email Variable Name Conflict in Payload and Recipient #6749

@dinesh-0808

Description

@dinesh-0808

📜 Description

i created a payload variable named 'email'. but this created confict between the email variable in 'to' section where we provide the recipient email address.
image

👟 Reproduction steps

http://localhost:2022/studio/flows/example-email/test
php email trigger code tab

👍 Expected behavior

It should send the mail to the email provided in the email variable of 'to' section.

👎 Actual Behavior with Screenshots

It actually was sending mail to the email provided in payload data

Novu version

2.x

npm version

No response

node version

No response

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions