Form submissions are being received by email with no problem. The Mail (2) autoresponser is supposed to send an email to the form submitter. However, if the Mail (2) content includes conditional fields (ie, [group-name]… [/group-name]), the Mail (2) autoresponder does not seem to work.
An email logging plugin shows the email as being sent (?), however, it’s not being received by the form submitter, and it’s not being received by the “cc” address. Have tested with various email addresses in the form submitter/cc addresses without success. The emails also do not appear in any spam folders (so are they really being sent?).
If conditional fields are removed from the content, (ie, replaced the content with basic text – like “test”) the Mail (2) autoresponder successfully sends and receives without a problem, including sending/receiving to the “cc” addresses as well.
Using PHPmailer, and while the host suggests using SMTP plugin, it does not seem this was the issue since we’re receiving form submissions and the Mail (2) autoresponder can work, just without the conditional fields. The Mail (2) autoresponder was working as intended WITH conditional fields for many years until just about 2 weeks ago.
Any suggestions for further troubleshooting or possible fixes would be most appreciated.
]]>Some hours spent with the hosting provider – all we could determine was that the auto response mail(2) does not even hit the server for auto reply
I am using :
WordPress ver 6.3
Contact Form 7 ver 5.8
PhP ver 8.2
Divi 4.22.0
thanks
Peter
]]>Thank you very much,
Enrico
BR,
Denis
I have a form set up to send 2 attachments (a local file attachment in CF7 File Attachments field and also the PDF generated from the plugin). This works perfectly.
I am now trying to set up an autoresponder with Mail(2) but don′t want the files attached to the response email. Currently both emails are sending with both attachments. First of all, is there a way to prevent the generated PDF attachment sending in Mail(2)?
Also, it seems that the plugin is affecting CF7 because if I deactivate it then CF7 will send my attached local file in the first Mail but not in the second (the desired result).
Thanks.
]]>I have a form that has 3 groups. Let’s call them group-a
, group-b
, group-c
.
At the end of each group, I have a radio selection with options to call the customer. The options being, “yes”, “no” and “email is fine”.
In my Mail(2) setup I basically want this to happen
if
in either group a,b or c customer selected “yes”
Print ""
if
in either group a,b or c customer selected “no”
Print ""
else
Print ""
Is there anybody that can share there thoughts?
]]>I created a form, and in Mail tab I have following settings:
Mail (main)
– To = specific email address (ex: [email protected])
– From = different specific email address
– Additional headers = is empty
– Subject, email body, attachments = just some text and tags
– Use HTML checked
Check Use Mail (2) !
Mail (2)
– To = [your-email]
– From = specific email address DIFFERENT from the To address above — this is the field I’m having problem with
– Additional headers = “Reply-To: …” with another specific address
– Subject and mail body = text
When I submit the form, both emails arrive – to destination (main Mail’s “to” address), and to submitter (the Mail(2)’s “to” address). But the submitter’s From email address is always main Mail’s “to” address! I tried both plain email address and “TEXT <[email protected]>” format. In second case the TEXT would be it, but the email address would not be the one I specified, but the one from the main Mail’s “to” address.
Am I missing something?
CF7 5.1.5, WordPress 5.2.4
]]>After investigating the mail-head I noticed that …
1. returnpath-adress is set to <webhostingaccount>@<webserver>.tld
2. smtp.mailfrom is set to <webserver>.tld instead of the correct mail-server
And I assume therefore spf-check is failing.
Any idea how to solve this? In case you need further info just let me know.
]]>I’m trying to edit Mail 2 manually with if statements. I have an Option tag [salutation](Sir, Madam) (in German Language – [anrede] (Herr, Frau). So, in Mail 2 template I have to write 2 different texts.
In my case:
if ([anrede] = Herr){
<p>Sehr geehrter Herr</p>
}
else if([anrede] = Frau){
<p>Sehr geehrte Frau</p>
}
How can I implement this code inside Mail 2? Is it possible to write Php code or Javascript inside Mail 2?
Thank you in advance,
Besart Haziri