backdrop-contrib / webform2pdf

An extension of the Webform module that can be used to generate a PDF document from the results of a form submission.
GNU General Public License v2.0
2 stars 0 forks source link

The module do not attach pdf to emails #19

Open aduhour opened 1 month ago

aduhour commented 1 month ago

Hello, I would like to report that after the upgrade of my system to php 8.1 or 8.2 (from 7.4) I could not attach pdfs to emails. They have been generated and saved with the web form results, but have never been sent.. I tried to solve the problem searching alternatives to the mail system related modules, such as mailsystem, mimemail or smtp authetication. But the problem could not be resolved. I don't know how to debug this problem, but I'm available to bring any other needed information.

Regards, Andrés

bugfolder commented 1 month ago

Hi Andrés, I've been using Webform2PDF under PHP 8.1 and it's been including the PDFs with emails, but there could be conflicts with other modules. Do you see any unusual reports in the dblog after you try sending a PDF?

Please also re-check all the settings: I could be misremembering, vaguely remember seeing something where the "Generate PDF document" had become mysteriously unchecked, but re-checking it fixed the issue.

aduhour commented 1 month ago

Hi, thank you for your response. I re-checked settings but until now I haven't found the problem. I've also posted a comment in the mimemail module issue queue because if I use this module, all the sections of the email appear as plain text (text, html and pdf...).

On the other hand, in the dblog I find, after a recent try:

Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated en webform_number_format_match() (línea 827 de /home(...)public_html/modules/webform/components/number.inc)

Andrés