Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Oliver Menger 5 posts 75 karma points
    Oct 08, 2018 @ 11:11
    Oliver Menger
    0

    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

  • Daniël Knippers 109 posts 777 karma points MVP 2x c-trib
    Oct 09, 2018 @ 07:29
    Daniël Knippers
    0

    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

  • Oliver Menger 5 posts 75 karma points
    Oct 17, 2018 @ 14:42
    Oliver Menger
    0

    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

  • Daniël Knippers 109 posts 777 karma points MVP 2x c-trib
    Oct 31, 2018 @ 11:05
    Daniël Knippers
    0

    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

  • Oliver Menger 5 posts 75 karma points
    Oct 31, 2018 @ 15:00
    Oliver Menger
    0

    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

  • Daniël Knippers 109 posts 777 karma points MVP 2x c-trib
    Nov 05, 2018 @ 10:43
    Daniël Knippers
    0

    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.

  • Oliver Menger 5 posts 75 karma points
    Nov 05, 2018 @ 11:25
    Oliver Menger
    0

    I added two workflow-items now so it looks like this:

    • Submit meesage / Go to page
    • Send text mail
    • Send html mail
    • Delete entry

    Content Text Mail

    Content HTML Mail

    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

  • Daniël Knippers 109 posts 777 karma points MVP 2x c-trib
    Nov 05, 2018 @ 12:55
    Daniël Knippers
    0

    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.

  • Oliver Menger 5 posts 75 karma points
    Nov 05, 2018 @ 14:21
    Oliver Menger
    0

    Hi Daniël,

    ok, I will and send you any news I can find.

    Thank you already for your help.

    Greetings

Please Sign in or register to post replies

Write your reply to:

Draft