pdf generation is so slow

Forminator Forms
June 02, 2023 06:16:34
mahnad
Topics: 1
Messages: 2
I created a form with formidableforms and mapped it to a pdf with e2pdf, but when the form is submitted, it takes 7 minutes or more to register the information and make it ready for download and email it 3 times , and when it tries to download, it gives this error message: [7] Failed connect to api2.e2pdf.com:443; Connection timed out
June 02, 2023 06:25:09
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

For some reason, your server can't connect to the API server. Does your server have access to the internet? If yes, can you try to switch the API server at "E2Pdf" -> "Settings" to api.e2pdf.com / api3.e2pdf.com / api4.e2pdf.com.

If it will not help, let us know please your website URL, however, It can be an issue with your server firewall or misconfigured DNS resolution/hosts file. If you have SSH access to the server, try to log in and ping any API server to see if you will get any response.

We would really appreciate your feedback at WordPress.org!
June 03, 2023 11:49:20
mahnad
Topics: 1
Messages: 2
That problem is solved, but it happens sometimes. But the main problem is that the sending time is very long, the average time is 3 minutes. It seems that the problem comes from the fact that in order to send each email, a pdf is generated from scratch. To solve this problem, the pdf must be generated and saved and then sent three times. I found this code on your site in response to a user's problem I, I used it in formidableForms->setting->actions and notifications->send email ->message:
[e2pdf-save id="1" overwrite="false" attachment="true"]

But it only saves snd sends one form to everyone no matter who fills out the form , while I want each person to receive an email with the form in their name.
June 03, 2023 13:01:24
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

3 minutes is a long time. Do you have a lot of mail actions?

To optimize, you can:
- Try to set the "Flatten" option to "Yes".

As for the "save" shortcode, it looks like the files are saved under the same name, and due to this, it's sending the same pdf attachment. Try to set please "Save Name" to [e2pdf-dataset] or [id].

See please screenshot attached.

If it will not help, let us know please the URL of the website and attach an example of generated PDF to the next message. You can mark the message "Private" so only we can see the message.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.