PDF email attachments were working fine for me using whatever Drupal's default php mail pieces are. However, after switching to the smtp module my webform submissions showing up as an attached binary file which is apparently a gibberish data file spit out by smtp. If I disable the pdf email attachment I then see the form field text in the email submissions, but obviously no pdf attachment.
Any thoughts on where this combination is falling down? If I had to guess, it seems there is probably something screwy with the way smtp is disaggregating the content and attachment in order to send them to the mail server?
Thanks in advance for any ideas and feedback ... and also for the handy module! :)
- Rob
Comments
Comment #1
mr.york commentedI changed the mail header creation and it is working together with the SMTP after this. Please download the new dev version.
Please change these parts of the code and the SMTP module will be working.
SMTP.module line 551:
New code:
SMTP.module line 615:
New code:
The latest webform2pdf dev version is working well for me.
Comment #2
mr.york commented