Open mandrasch opened 1 month ago
I'm pretty sure we made that change some time ago with the default stencil, as the stencil sets this to the replyTo
property. Maybe this is an older install that hasn't had this setting updated in the default stencil?
Hi @engram-design, thx for quick reply!
We have a starter craft project which was migrated from craft v3, could be the case that this wasn't updated properly.
In config/project/formie/stencils/
we have contactForm--5...yaml
file:
data:
availability: always
availabilityFrom: null
availabilitySubmissions: null
availabilityTo: null
dataRetention: forever
dataRetentionValue: null
fileUploadsAction: retain
notifications:
-
attachFiles: true
content: '[{"type":"paragraph","content":[{"type":"text","text":"A user submission has been made on the \""},{"type":"variableTag","attrs":{"label":"Form Name","value":"{formName}"}},{"type":"text","text":"\" form on "},{"type":"variableTag","attrs":{"label":"Site Name","value":"{siteName}"}},{"type":"text","text":" at "},{"type":"variableTag","attrs":{"label":"Timestamp (yyyy-mm-dd hh:mm:ss)","value":"{timestamp}"}}]},{"type":"paragraph","content":[{"type":"text","text":"Their submission details are:"}]},{"type":"paragraph","content":[{"type":"variableTag","attrs":{"label":"All Form Fields","value":"{allFields}"}}]}]'
enabled: true
from: '{field.emailAddress}'
id: new981-8077
name: 'Admin Notification'
replyTo: '{field.emailAddress}'
subject: 'A new submission was made on "{formName}"'
templateId: ''
to: '{systemEmail}'
What is the easiest way to update / refresh the Admin Notification template in our starter project?
You can manually edit the YAML file in your starter project to either from: null
or from: ''
if it's not attached to a Craft install that you can go and edit your starter project on via a UI. If it is attached to a Craft install where you have access to the UI, you can just edit the stencil directly.
Describe the bug
Hey, we noticed that the template for email notification trys to set the sender of a form to the sender of the email notification.
At least in our experience that lead to email send errors because email servers refused to sent out mails for another domain. I don't have the specific error at hand currently, just wanted to let you know.
As far as I know, it would be best to leave that empty?
Steps to reproduce
Form settings
Craft CMS version
4.5.13
Plugin version
2.1.0
Multi-site?
Yes
Additional context
No response