• Resolved dschmidtke

    (@dschmidtke)


    While Formello was able to send mails in version 1.8.x, this is no longer possible. I am on 1.9.9. Here are the issues I encountered:

    1. The form to compose a message (form block->add action->email) does not submit the message field – I verified this by inspecting the wp_postmeta table: under the meta_key _formello_actions “message” is empty, while other fields are populated.
    2. When a form submission comes in, it is visible in the backend (Forms ->entries), but no mails are sent (yes, my website can send emails, other WordPress mails are delivered, I also double checked with the Mail Catcher plugin)
    3. I also noticed that filling in the message form is very slow – as if there was a delay after every typed character.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author tropicalista

    (@tropicalista)

    Do you have any public url that I can check?

    Thread Starter dschmidtke

    (@dschmidtke)

    Plugin Author tropicalista

    (@tropicalista)

    Can you please check with latest update?

    Thread Starter dschmidtke

    (@dschmidtke)

    Hello, I upgraded to Formello 2.0.

    • Not storing the message is fixed now.
    • However – still no delivery, double checked with WP Mail Catcher.
    • Just to mention: side effect of the update was, that after the plugin update in the editor I had to restore every select block with block recovery.
    Plugin Author tropicalista

    (@tropicalista)

    Can you please check that your email action has a message text? If the message is empty, the mail will not be sent

    Thread Starter dschmidtke

    (@dschmidtke)

    As I said, this time the message is stored. Here is the corresponding database entry in the wp_postmeta table, under the meta_key “_formello_actions” the “meta_value” is:

    a:1:{i:0;a:10:{s:4:"type";s:5:"email";s:5:"title";s:23:"Bestellbenachrichtigung";s:5:"async";b:1;s:2:"to";s:28:"[email protected]";s:4:"from";s:47:"[email protected]";s:2:"cc";s:0:"";s:3:"bcc";s:0:"";s:7:"replyTo";s:21:"[email protected]";s:7:"subject";s:19:"Neue Buchbestellung";s:7:"message";s:32:"<p>Dies ist ein zweiter Test</p>";}}

    Maybe your code has a problem parsing the tags from the Rich Text Editor, so that the message value evaluates as invalid/empty, prohibiting to send the email??

    Plugin Author tropicalista

    (@tropicalista)

    I have tested and it works as expected.

    Can you try to enable log?

    Also, can you try using https://it.www.ads-software.com/plugins/wp-mail-smtp/

    Thread Starter dschmidtke

    (@dschmidtke)

    Performance is now erratic – some mails are delivered, some mail aren’t. I have to investigate this further, so let’s leave it here.

    BUT – one thing: The message of the action mail is no longer parsed to replace field variables with the actual values. That worked in Formello 1.8.x.

    Example one-liner:

    Für mich wurde die Welt ge?ffnet: {{fields.erinnern-an-1968}}

    The text {{fields…}} should be evaluated an replaced with the actual field value

    Thread Starter dschmidtke

    (@dschmidtke)

    I am closing this, since the problems sending mail may be related to the mail host. However, I found some other issues not related to this, so I open another thread.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘message action after form submission does not work’ is closed to new replies.