Closed (fixed)
Project:
Webform2PDF
Version:
7.x-4.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
26 Sep 2017 at 19:01 UTC
Updated:
11 Jul 2019 at 09:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
davide.porrovecchio commentedComment #3
elsmore commentedThis did not work for me - PDF appears as base64 code. Let me know if there's a way I can provide more / useful information.
Comment #4
Fernox commentedHi, is this now rectified?
Thanks
Comment #5
pbosmans commentedThanks Davide.
This solved my issue 'Fatal error: Cannot use object of type stdClass as array ...' when i try to send a webform-mail with a pdf attached and mime-mail module enabled.
Comment #6
jeffm2001 commentedThis patch works well and should be committed.
@elsmore, I initially had the same confusion as you, with base64 text instead of the attachment. It turns out the solution is to go to the Webform settings (
/admin/config/content/webform) and make sure "HTML mail system" is checked. Without this patch you then get a fatal error trying to send, but with the patch you get the attached PDF as expected.Comment #7
amelio commented+1 for RTBC.
Any chance of getting this committed?
Comment #9
mr.york commentedThank you the patch and reviews.