• Resolved eli0086

    (@eli0086)


    I have a custom function that returns the email of the post’s author. When I use the “Send Email” action, I’m using the “Function Return Value” option from that custom function.

    When I put it in the body of the email, it returns like expected ([email protected]). But when I try to use that in the “To” email field, it’s returning like this:

    [email protected] (with a “p” on either side of the email address.

    Any idea why this is happening and if it can be solved so it only returns the email without the extra characters?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter eli0086

    (@eli0086)

    Want to update what I’ve found on this issue. If I use the same function to generate a coupon code and send an email, the issue does not occur. Meaning, it seems to be unique to the “Send Email” action and integration. Sending an email with Woocommerce does not produce the issue of adding the “p” on either side of the email address.

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @eli0086 ,

    Thanks for alerting us to the issue. There was a change in the last release that could do this with some action tokens related to a formatting change.

    We have made a fix file available at https://we.tl/t-mioElbdZJe. Download that, then upload it to your site by FTP and replacing the existing version of the file at this path:

    wp-content/plugins/uncanny-automator/src/core/lib/recipe-parts/actions/trait-action-tokens.php

    After the change, please let us know if you still see the issue. We will include the change in the next release.

    Thread Starter eli0086

    (@eli0086)

    That worked perfectly! Thank you for your help!

    • This reply was modified 1 year, 7 months ago by eli0086.
    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Excellent, thanks for confirming!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Returned Value for Email is adding extra characters’ is closed to new replies.