I also ran into the "java.lang.exception: 400002" exception when testing the PDFG IPP printer (conversion to PDF succeeds but sending of email fails). I discovered that it was not the "sendmail" service that needed to be configured but a service named "Email: 1.0". This service allows you to configured both SMTP and POP3 settings along with a return email address and an email address for failed sent messages. I will be logging a bug against documentation so this is clear in future releases.
I tested PDF Generator ES2 Network Printer client successfully using LiveCycle ES2 :
You have to 'Configure provider.email_sendmail_service.
Admin Console: Home > Services > Applications and Services > Service Management > Configure provider.email_sendmail_service
SMTP HOST= yoursmtp-server-here
The user selected during (Installing the PDF Generator ES2 Network Printer client) 'Configure Internet Port screen'
e.g. administrator should have valid email address
To set the email address:
Admin Console> Home > Settings > User Management > Users and GroupsUser>administrator
email = set-valid-email-here