As I tried to describe in the topic, the mails are sent empty (with default values), even if I delete entries after sending the mails (plain text, not using the html-templates). As soon as I deactivate the "delete entries", everything works as expected. Any Ideas? Thank you in advance for help.
Best regards
Btw: not using mail templates, as they give another error: not able to convert empty date time to "f". So needed to fix it by at first checking if value is empty in line 162
How are you sending the e-mails, which workflow are you using? We also provide a workflow for our PerplexMail package, are you using that one or some built-in e-mail workflow of Umbraco.
Knowing which workflow it is allows me to try and reproduce the issue locally so I can have a look.
For sending mails with HTML I was using the workflow provided with your plugin. After the given error described in the footer of my ticket description I used the regular "Send mail" element.
As soon as I disable the "Delete on submit" element, the mails (both possibilities) are filled with content.
so checked it again.
The order was correct of course, tried deleting them after sending the mail. But still the mail is empty, only if I use the "send mail with template (razor)" I can see the content, but also with the default mail template design including image.
So currently my only chance will be to style the template to make it work? As the regular text mail will be without the filled in values.
What is the content of your e-mail? Like how do you render the values? It works fine for me here unfortunately so cannot reproduce and fix. Can you try to reproduce it in a new installation of Umbraco + Forms + our package? Shouldn't take more than 15m total to install & test.
I added two workflow-items now so it looks like this:
Submit meesage / Go to page
Send text mail
Send html mail
Delete entry
So the html mail which should be sent afterwards has content while the regular text mail has no data. The "regular text mail" is the basic "Send email".
I will try asking the customer to use a html-Mail template so everything works as expected, but maybe it helps you fixing it?
Greetings
I am sorry but really cannot reproduce, just tried this in a new 7.12.3 installation with Forms 7.0.4 and 1.8.3 of our package. Both e-mails work fine with Delete on Submit and contain data. Perhaps with your form an exception is thrown somewhere, which could very well be in our package, but I would need more specific steps to reproduce because currently I do not see any issues.
Please try to reproduce in a new installation or at do some experiments with the project where it fails currently. Does it still occur with a form with only 1 field, for example? Perhaps you can also check if you see any Forms related exceptions in App_Data/Logs when a form is filled out.
Entries deleted before sending mail
Good afternoon,
first of all, I have those versions
Umbraco Forms V6.0.8 Perplex Steroids V1.8.3
As I tried to describe in the topic, the mails are sent empty (with default values), even if I delete entries after sending the mails (plain text, not using the html-templates). As soon as I deactivate the "delete entries", everything works as expected. Any Ideas? Thank you in advance for help.
Best regards
Btw: not using mail templates, as they give another error: not able to convert empty date time to "f". So needed to fix it by at first checking if value is empty in line 162
Hi Oliver,
How are you sending the e-mails, which workflow are you using? We also provide a workflow for our PerplexMail package, are you using that one or some built-in e-mail workflow of Umbraco.
Knowing which workflow it is allows me to try and reproduce the issue locally so I can have a look.
Regards, Daniël
Hi Daniël,
sry for my late response.
For sending mails with HTML I was using the workflow provided with your plugin. After the given error described in the footer of my ticket description I used the regular "Send mail" element.
As soon as I disable the "Delete on submit" element, the mails (both possibilities) are filled with content.
Thanks for ideas
Greetings
Hi Oliver,
Sorry again for the late reply.
I did some tests locally, and the order of the workflows is important. Make sure to first add Send PerplexMail, THEN Delete on Submit.
If Delete on Submit is first, the values indeed are empty, which makes sense since the entry is gone.
Regards, Daniël
Hi Daniël,
so checked it again. The order was correct of course, tried deleting them after sending the mail. But still the mail is empty, only if I use the "send mail with template (razor)" I can see the content, but also with the default mail template design including image. So currently my only chance will be to style the template to make it work? As the regular text mail will be without the filled in values.
Greetings
Oli
What is the content of your e-mail? Like how do you render the values? It works fine for me here unfortunately so cannot reproduce and fix. Can you try to reproduce it in a new installation of Umbraco + Forms + our package? Shouldn't take more than 15m total to install & test.
I added two workflow-items now so it looks like this:
So the html mail which should be sent afterwards has content while the regular text mail has no data. The "regular text mail" is the basic "Send email". I will try asking the customer to use a html-Mail template so everything works as expected, but maybe it helps you fixing it? Greetings
Hi Oliver,
I am sorry but really cannot reproduce, just tried this in a new 7.12.3 installation with Forms 7.0.4 and 1.8.3 of our package. Both e-mails work fine with Delete on Submit and contain data. Perhaps with your form an exception is thrown somewhere, which could very well be in our package, but I would need more specific steps to reproduce because currently I do not see any issues.
Please try to reproduce in a new installation or at do some experiments with the project where it fails currently. Does it still occur with a form with only 1 field, for example? Perhaps you can also check if you see any Forms related exceptions in App_Data/Logs when a form is filled out.
Hi Daniël,
ok, I will and send you any news I can find.
Thank you already for your help.
Greetings
is working on a reply...