CalderaWP / Caldera-Forms

Drag and drop, responsive WordPress form builder.
https://CalderaForms.com
GNU General Public License v2.0
187 stars 163 forks source link

[NEEDS MORE INFO] Some users are reporting that replyto or from setting does notwork with magic tags. #2967

Open Shelob9 opened 5 years ago

Shelob9 commented 5 years ago

Two users are reporting similar issues here - One has a problem with magic tags in FROM setting, one has issues with magic tags in replyto settings.

https://wordpress.org/support/topic/unable-to-reply-to-sender/#post-11172646

I see some errors in CF Pro log that message send requests are coming in without any to info. I sent emails to a few of those folks.

Neither I nor @New0 can reproduce this with 1.7.6

How you can help - If you are a Caldera Forms Pro customer -- open a support ticket -- https://calderaforms.com/support

Please leave a comment with the following information: 1) If you are using magic tags for FROM or reply to setting. 2) If you are experiencing this issue with main mailer or an auto-responder. 3) The short debug info in the support submenu of Caldera Forms.

swapnilmanjrekar commented 5 years ago

I tested this bug using the following steps:

JavaScript Errors:

PHP Errors:

For Sandbox Test Site: WordPress Version: 5.0.3PHP Version: 7.2.14MySQL Version: 5.5.5Caldera Forms Version: 1.7.6WP_DEBUG:

For Local Test Site: WordPress Version: 5.0.3PHP Version: 7.1.26MySQL Version: 5.7.25Caldera Forms Version: 1.7.6WP_DEBUG: 1

colbyalbo commented 5 years ago

Hi, I am experiencing this issue , version 1.7.6, and using SendGrid. The emails are being send and received, but the From email is the email address of the site admin, not the email address from the form.

I am using Magic Tags (%email_address%) in the "Reply To" field in the Main Mailer ( the "From Email" is left blank)

Short Debug info: WordPress Version: 5.0.3 PHP Version: 7.0.32-1~dotdeb+8.1 MySQL Version: 5.6.42 Caldera Forms Version: 1.7.6 WP_DEBUG:

colbyalbo commented 5 years ago

Just a follow up on some testing on a local environment. I experimented with renaming the magictag/slug of the email address field on the form; which produced the same issue. However, i placed the magic tag for the email address field in the "From Email" field in the main mailer (the hint under the field states not to do this). And the email was delivered correctly with the and the from email was the one that was submitted in the form, and the reply to does reply to the proper email address as well.

hope this helps..
calderaforms

Shelob9 commented 5 years ago

I'm starting to view this as a UI issue.

Maybe the solution is to add valdidation to that setting so that it rejects magic tags?

colbyalbo commented 5 years ago

To clarify. Placing the magic tag in the "From Field" makes the email arrive as i would expect it.

Is there any adverse consequence by adding the Magic Tags to the "From Field" ?

Shelob9 commented 5 years ago

There is a form attached to this ticket that we need to test: https://secure.helpscout.net/conversation/772256496/18499?folderId=832044

mzangari commented 5 years ago

Hello, i'm experiencing an issue supposedly related to this one in my auto responder: It seems that the recipient email is ignored and the recipient name is used instead as field for the To address. In fact if i use the magic tags %first_name% %last_name% in Recipient Name, email delivery fails and the email log reports an invalid To address: screen_invalid_to_email Detailed view: screen_invalid_to_email_detail

Here the settings: screen_auto_responder_settings

Mail delivery goes fine only if i use or include the magic tag %email_address% in the recipient name: screen_email_in_recipient_name