I'm trying to use webform2pdf to generate a pdf containing form inputs. The form works fine if I don't check "Generate PDF Document", and I receive a confirmation email.
If I do enable the PDF, I don't receive a confirmation email and I get the following error:
Unable to send e-mail. Contact the site administrator if the problem persists.
In the smtp log I see:
phpmailerException: Message body empty in PHPMailer->Send() (line 577 of /var/www/clients/client1/web1/web/sites/all/modules/smtp/smtp.phpmailer.inc).
Is there additional configuration I need to make? Drupal is new to me.
- Drupal - 7.54
- Webform - 7.x-4.15
- Webform 2 PDF - 7.x-4.0
- SMTP Authentication Support - 7.x-1.6
- MIME Mail - 7.x-1.0
- TCPDF - 6.2.13
** Edit **
Turning off SMTP Authentication Support and using DefaultMailSystem solved this particular issue and allows PDF attachements, although DefaultMailSystem only allows plain text emails.