I have a WFFM in my application which sends a thank you email after registration in my site. I have changed some email body text and it stopped working not sure why. Is there any way to check the issue or upload the template again?
-
2Did you change ONLY the email text or also the recipient(s)? Or anything else? To start resolving: check the logs of the application and the mailserver you are using (to verify if the mail is not stopped there)Gatogordo– Gatogordo2016-07-18 12:58:14 +00:00Commented Jul 18, 2016 at 12:58
-
Which version of Sitecore and WFFM module?jammykam– jammykam2016-07-18 13:07:18 +00:00Commented Jul 18, 2016 at 13:07
1 Answer
The question is very light on details but on WFFM 8.0 this is a known bug, if you check the logs then the following error will be present:
Exception: System.FormatException
Message: The specified string is not in the form required for an e-mail address.
The problem is due to a bug in the Mail Message editor, which causes any dynamic user input fields in the TO, FROM or CC fields to be incorrectly encoded with double brackets, e.g. from [User Email] to [[User Email]]. When the field is expanded and passed to the send email pipeline the additional set of brackets around the whole email, causing the FormatException.
The error will occur even if you just edit the message body and not even touch the recipient fields.
This is a known bug and the fix can be found in this Sitecore Knowledge base article: Error submitting form when using Send Email action in WFFM. Alternatively contact Sitecore Support and quote ticket number 402562.