Converting email attachments
iQ.Suite Tips & Tricks for IBM Domino
You can use the iQ.Suite Bridge to integrate third-party software, which is based on/accesses Notes databases (e.g. ePDF Server), into the iQ.Suite email management system.
The ePDF Server is a program which amongst other things can read attachments from Notes documents (e.g. emails) and write them to the document as PDF attachments.
You will first need to install an ePDF Server and the iQ.Suite with the bridge module. A Notes database (design: iQ.Suite BridgeTemplate) serves as the interface between the two programs.
Process and configurations required:
- Email arrives in the Domino mail.box.
- A Bridge mail job copies this email to the Bridge database and deletes it from the mail.box so that it is not delivered.

- The ePDF Server reads the email attachments from the Bridge database and converts them.

Databases: Bridge database (see above)
-
The ePDF Server writes the converted attachments back to the email and sets the $TKBridgeExportedBy field by way of acknowledgment (indicating that the ePDF Server is ready).

The post process (once the conversion is complete) must set the $TKBridgeExportedBy field by way of acknowledgment.
- A Bridge database job transfers the email back to the mail.box and releases it for sending.

Query in the database rule whether the acknowledgment has already been set
In words: _isfinished:=@If($TKBridgeExportedBy = "epdf"; @true ; @false); @If(@IsError(_isfinished);@false;_isfinished);
Bridge database job(Basics tab):
Red arrow: bridge database used (see above)
Blue arrow: rule ensuring that only the complete documents are forwarded.
Bridge database job(Operations tab):
Note: The field for the acknowledgement MUST be $TKBridgeExportedBy.
-
The Domino router supplies the email.
Closing comments:
In place of the ePDF Server, you can incorporate any application which reads the documents from a Domino database and places them back there after processing with the ACK flag (field: $TKBridgeExportedBy).
Mode: Park (Copy + Delete). Bridge database (must match the setting in the ePDF Server)