Open dinesh-0808 opened 1 week ago
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.
http://localhost:2022/studio/flows/example-email/test php email trigger code tab
It should send the mail to the email provided in the email variable of 'to' section.
It actually was sending mail to the email provided in payload data
2.x
No response
None
NV-4528 🐛 Bug Report: email Variable Name Conflict in Payload and Recipient
📜 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.
👟 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?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None