Where can we see the website in question?
bea
(@beatefuchs)
I have the same problem: everything works fine, but the email attachment is not attached in either the mail to me or the one to the sender, although the message appears that sending worked.
Yes, I put the file in the “E-mail” tab in both mails with the e-mail tag [file-687] given above in the “File attachments” field.
There is also a folder wpcf7_uploads on the server – I gave it public write permission (766).
I have also tried it with a second file and have it displayed in both mails as well (this works – the file name is displayed) and also added both mail tags [file-687][file-173] in the File Attachments field. Nevertheless the mails have no attachment.
Thanks for any tips that help here!
(https://swt-services.de/kontakt/)
I fixed it by removing wpcf7_ajax_json_echo hook from function file as this is now deprecated.
bea
(@beatefuchs)
Great that you found a solution! 😀
I searched for the function file on the server and found 4 files with “function” in the name inside the plugin folder, but none contains “wpcf7_ajax_json_echo”. Where exactly do I have to remove the hook?
Thanks in advance for your help!
Did you check the main functions.php file? it should be in theme folder. Also try to disable your plugins one by one and test if the attachment is working.
bea
(@beatefuchs)
Thanks for the quick reply!
I searched all “function” files in “contact-form-7” folder for “wpcf7_ajax_json_echo” but found nothing.
I have the “functions.php” file under “contact-form-7 > includes”.
Even if I search the terms individually, neither “ajax”, nor “json” nor “echo” is found in this file.
I have a multilanguage site and amazingly the contact form including attachment works on the English page (same plugins and settings). Only on the German one the attachment doesn’t work. I have nevertheless deactivated various plugins testwise, but unfortunately without success. Thanks for the tip anyway!
Please check if you have added file reference in attachment section inside your German contact form.
you should have [file-206] as attachment in German contact form.
Hello,
I’m trying to use the plugin with the function of sending attach but this last one it doesn’t work.
I receive the mail without the attachment.
I already checked and I have added the file reference in mail section as attachment.
Could you help me please ?